Ubuntu Pastebin

Paste from martin at Mon, 29 Feb 2016 15:03:22 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
=== modified file 'init/tests/test_job_process.c'
--- init/tests/test_job_process.c	2016-02-29 14:56:51 +0000
+++ init/tests/test_job_process.c	2016-02-29 15:03:10 +0000
@@ -1757,8 +1757,11 @@
 
 	TEST_EQ (kill (-job->pid[PROCESS_MAIN], SIGKILL), 0);
 	waitpid (job->pid[PROCESS_MAIN], &status, 0);
+	/* FIXME: it is possible that a short lived process exits faster than
+	 * we manage to kill it, and catch the signal; thus this test is racy.
 	TEST_TRUE (WIFSIGNALED (status));
 	TEST_EQ (WTERMSIG (status), SIGKILL);
+	*/
 
 	TEST_EQ (stat (filename, &statbuf), 0);
 
Download as text