------------------------------------------------------------ revno: 1601 committer: Dimitri John Ledkov <[email protected]> branch nick: trunk timestamp: Wed 2014-03-05 13:51:52 +0000 message: update unit test-names expectations, init during unit-tests is now named test_init modified: util/tests/test_initctl.c
-- lp:upstart https://code.launchpad.net/~upstart-devel/upstart/trunk Your team Upstart Reviewers is subscribed to branch lp:upstart. To unsubscribe from this branch go to https://code.launchpad.net/~upstart-devel/upstart/trunk/+edit-subscription
=== modified file 'util/tests/test_initctl.c' --- util/tests/test_initctl.c 2013-11-13 02:50:36 +0000 +++ util/tests/test_initctl.c 2014-03-05 13:51:52 +0000 @@ -16960,7 +16960,7 @@ TEST_NE_P (cmd, NULL); RUN_COMMAND (NULL, cmd, &output, &lines); TEST_EQ (lines, 1); - TEST_STR_MATCH (output[0], "init (upstart [0-9.][0-9.]*"); + TEST_STR_MATCH (output[0], "test_init (upstart [0-9.][0-9.]*"); nih_free (output); STOP_UPSTART (upstart_pid); @@ -16992,7 +16992,7 @@ TEST_NE_P (cmd, NULL); RUN_COMMAND (NULL, cmd, &output, &lines); TEST_EQ (lines, 1); - TEST_STR_MATCH (output[0], "init (upstart [0-9.][0-9.]*"); + TEST_STR_MATCH (output[0], "test_init (upstart [0-9.][0-9.]*"); nih_free (output); /* Unset to stop initctl finding upstart via this route */ @@ -17049,7 +17049,7 @@ TEST_NE_P (cmd, NULL); RUN_COMMAND (NULL, cmd, &output, &lines); TEST_EQ (lines, 1); - TEST_STR_MATCH (output[0], "init (upstart [0-9.][0-9.]*"); + TEST_STR_MATCH (output[0], "test_init (upstart [0-9.][0-9.]*"); nih_free (output); STOP_UPSTART (upstart_pid); @@ -17098,7 +17098,7 @@ TEST_NE_P (cmd, NULL); RUN_COMMAND (NULL, cmd, &output, &lines); TEST_EQ (lines, 1); - TEST_STR_MATCH (output[0], "init (upstart [0-9.][0-9.]*"); + TEST_STR_MATCH (output[0], "test_init (upstart [0-9.][0-9.]*"); nih_free (output); /* Pass the second D-Bus session bus address to the Session Init */ @@ -17113,7 +17113,7 @@ TEST_NE_P (cmd, NULL); RUN_COMMAND (NULL, cmd, &output, &lines); TEST_EQ (lines, 1); - TEST_STR_MATCH (output[0], "init (upstart [0-9.][0-9.]*"); + TEST_STR_MATCH (output[0], "test_init (upstart [0-9.][0-9.]*"); nih_free (output); /* Stop the 1st daemon */
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
