Merge lp:~xnox/upstart/clean-up-processes-reload-action into lp:upstart

Proposed by Dimitri John Ledkov
Status: Merged
Merged at revision: 1523
Proposed branch: lp:~xnox/upstart/clean-up-processes-reload-action
Merge into: lp:upstart
Diff against target: 73 lines (+0/-22)
1 file modified
util/tests/test_initctl.c (+0/-22)
To merge this branch: bzr merge lp:~xnox/upstart/clean-up-processes-reload-action
Reviewer Review Type Date Requested Status
Upstart Reviewers Pending
Review via email: mp+181792@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'util/tests/test_initctl.c'
--- util/tests/test_initctl.c 2013-08-23 09:22:32 +0000
+++ util/tests/test_initctl.c 2013-08-23 11:29:27 +0000
@@ -8462,7 +8462,6 @@
8462 FILE * output;8462 FILE * output;
8463 FILE * errors;8463 FILE * errors;
8464 pid_t server_pid;8464 pid_t server_pid;
8465 pid_t proc_pid;
8466 DBusMessage * method_call;8465 DBusMessage * method_call;
8467 DBusMessage * reply = NULL;8466 DBusMessage * reply = NULL;
8468 const char * name_value;8467 const char * name_value;
@@ -8502,10 +8501,6 @@
8502 */8501 */
8503 TEST_FEATURE ("with single argument");8502 TEST_FEATURE ("with single argument");
8504 TEST_ALLOC_FAIL {8503 TEST_ALLOC_FAIL {
8505 TEST_CHILD (proc_pid) {
8506 pause ();
8507 }
8508
8509 TEST_CHILD (server_pid) {8504 TEST_CHILD (server_pid) {
8510 /* Expect the GetJobByName method call on the8505 /* Expect the GetJobByName method call on the
8511 * manager object, make sure the job name is passed8506 * manager object, make sure the job name is passed
@@ -8635,9 +8630,6 @@
86358630
8636 kill (server_pid, SIGTERM);8631 kill (server_pid, SIGTERM);
8637 waitpid (server_pid, NULL, 0);8632 waitpid (server_pid, NULL, 0);
8638
8639 kill (proc_pid, SIGTERM);
8640 waitpid (proc_pid, NULL, 0);
8641 continue;8633 continue;
8642 }8634 }
86438635
@@ -8660,10 +8652,6 @@
8660 */8652 */
8661 TEST_FEATURE ("with multiple arguments");8653 TEST_FEATURE ("with multiple arguments");
8662 TEST_ALLOC_FAIL {8654 TEST_ALLOC_FAIL {
8663 TEST_CHILD (proc_pid) {
8664 pause ();
8665 }
8666
8667 TEST_CHILD (server_pid) {8655 TEST_CHILD (server_pid) {
8668 /* Expect the GetJobByName method call on the8656 /* Expect the GetJobByName method call on the
8669 * manager object, make sure the job name is passed8657 * manager object, make sure the job name is passed
@@ -8797,9 +8785,6 @@
87978785
8798 kill (server_pid, SIGTERM);8786 kill (server_pid, SIGTERM);
8799 waitpid (server_pid, NULL, 0);8787 waitpid (server_pid, NULL, 0);
8800
8801 kill (proc_pid, SIGTERM);
8802 waitpid (proc_pid, NULL, 0);
8803 continue;8788 continue;
8804 }8789 }
88058790
@@ -8827,10 +8812,6 @@
8827 setenv ("UPSTART_INSTANCE", "foo", TRUE);8812 setenv ("UPSTART_INSTANCE", "foo", TRUE);
88288813
8829 TEST_ALLOC_FAIL {8814 TEST_ALLOC_FAIL {
8830 TEST_CHILD (proc_pid) {
8831 pause ();
8832 }
8833
8834 TEST_CHILD (server_pid) {8815 TEST_CHILD (server_pid) {
8835 /* Expect the GetJobByName method call on the8816 /* Expect the GetJobByName method call on the
8836 * manager object, make sure the job name is passed8817 * manager object, make sure the job name is passed
@@ -8958,9 +8939,6 @@
89588939
8959 kill (server_pid, SIGTERM);8940 kill (server_pid, SIGTERM);
8960 waitpid (server_pid, NULL, 0);8941 waitpid (server_pid, NULL, 0);
8961
8962 kill (proc_pid, SIGTERM);
8963 waitpid (proc_pid, NULL, 0);
8964 continue;8942 continue;
8965 }8943 }
89668944

Subscribers

People subscribed via source and target branches