summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-09-26 13:52:29 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-10-10 08:24:35 +1000
commit32cb0cf72dfb6396ba34c6921745743827f08b5d (patch)
tree0ed98d63b50a8ed6a4412867cfd3b8e4c31a4165
parentd2e680f9d372510cfa8c1d268a0abeda266bfe8c (diff)
test: rename two process tests
Termination can have different meaning for a process, rename the test cases to be more explicit Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@ubuntu.com>
-rw-r--r--test/process-test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/process-test.cpp b/test/process-test.cpp
index 183b9f8..8646c12 100644
--- a/test/process-test.cpp
+++ b/test/process-test.cpp
@@ -25,7 +25,7 @@ TEST(Process, StartWithNULLTerminatedArg)
ASSERT_GT(p.Pid(), 0);
}
-TEST(Process, TerminationSuccess)
+TEST(Process, ExitCodeSuccess)
{
SCOPED_TRACE("TESTCASE: invocation of 'echo -n', check for success exit status");
@@ -45,7 +45,7 @@ TEST(Process, TerminationSuccess)
ASSERT_EQ(p.GetState(), Process::FINISHED_SUCCESS);
}
-TEST(Process, TerminationFailure)
+TEST(Process, ExitCodeFailure)
{
SCOPED_TRACE("TESTCASE: an invalid invocation of 'ls', check for error exit status");
Process p;