#
# In particular, they check if the class correctly records the exit code
# returned. The exit code returned is controlled by the caller. It is
-# possible to explictily specify the exit code to be returned using
+# possible to explicitly specify the exit code to be returned using
# the command line options. It is also possible to specify that the
# exit code is "unique" for the process, so as the test can check
# that two distinct processes spawned by the same ProcessSpawn
EXPECT_NE(process.getExitStatus(pid1), process.getExitStatus(pid2));
- // Clear the status of the first process. An atttempt to get the status
+ // Clear the status of the first process. An attempt to get the status
// for the cleared process should result in exception. But, there should
// be no exception for the second process.
process.clearStatus(pid1);
// returned.
TEST(ProcessSpawn, getCommandLine) {
// Note that cases below are enclosed in separate scopes to make
- // sure that the ProcessSpawn object is destructed before a new
+ // sure that the ProcessSpawn object is destroyed before a new
// object is created. Current implementation doesn't allow for
- // having two ProcessSpawn objects simulatneously as they will
+ // having two ProcessSpawn objects simultaneously as they will
// both try to allocate a signal handler for SIGCHLD.
{
// Case 1: arguments present.