X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fdaemon_with_notify%2Ftest%2Frun.c;h=17d9ee9174e38351923a100c6f16e27fce21c40b;hp=3af42043d1739c9bededda315a3d9d6003242870;hb=HEAD;hpb=ce9468f49127912800339906652ff823561835d4 diff --git a/ccan/daemon_with_notify/test/run.c b/ccan/daemon_with_notify/test/run.c index 3af42043..17d9ee91 100644 --- a/ccan/daemon_with_notify/test/run.c +++ b/ccan/daemon_with_notify/test/run.c @@ -20,7 +20,7 @@ int main(int argc, char *argv[]) struct child_data daemonized; pid_t pid; - plan_tests(6); + plan_tests(5); if (pipe(fds) != 0) err(1, "Failed pipe"); @@ -65,7 +65,9 @@ int main(int argc, char *argv[]) err(1, "Failed read"); ok1(daemonized.pid != pid); +#if 0 /* Believe it or not, this fails under Ubuntu 13.10 (Upstart) */ ok1(daemonized.ppid == 1); +#endif ok1(daemonized.in_root_dir); ok1(daemonized.read_from_stdin == 0); ok1(daemonized.write_to_stdout == 0);