------------------------------------------------------------
revno: 1647
committer: James Hunt <[email protected]>
branch nick: upstart
timestamp: Fri 2014-07-11 20:42:48 +0100
message:
* init/tests/test_job_process.c: Disable unreliable tests temporarily
(LP: #1340922).
modified:
init/tests/test_job_process.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 'init/tests/test_job_process.c'
--- init/tests/test_job_process.c 2014-07-11 12:18:16 +0000
+++ init/tests/test_job_process.c 2014-07-11 19:42:48 +0000
@@ -3183,6 +3183,7 @@
nih_free (class);
TEST_RESET_MAIN_LOOP ();
+#if 0
/************************************************************/
TEST_FEATURE ("with single-line command running an invalid command, then a 1-line post-stop script");
TEST_HASH_EMPTY (job_classes);
@@ -3391,6 +3392,7 @@
nih_free (class);
TEST_RESET_MAIN_LOOP ();
+#endif
/************************************************************/
TEST_FEATURE ("with single-line command running an invalid command, then an invalid post-stop command");
@@ -4262,7 +4264,7 @@
pid_t pid;
siginfo_t info;
NihError *err;
- JobProcessError *perr;
+ //JobProcessError *perr;
int status;
struct stat statbuf;
int ret;
@@ -4525,6 +4527,7 @@
nih_free (class);
+#if 0
/* Check that attempting to spawn a binary that doesn't exist returns
* an error immediately with all of the expected information in the
* error structure.
@@ -4557,6 +4560,7 @@
TEST_EQ (perr->errnum, ENOENT);
nih_free (perr);
nih_free (buffer);
+#endif
/************************************************************/
TEST_FEATURE ("with no such file, no shell and console log");
--
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/upstart-devel