From: Bruno Haible Date: Sun, 19 Jul 2009 08:38:05 +0000 (+0200) Subject: Pass slave_process argument consistently. X-Git-Tag: v0.1~5770 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=b93b5de531d765fc11ce5a575b9651de0ebe81c2;p=gnulib.git Pass slave_process argument consistently. --- diff --git a/ChangeLog b/ChangeLog index 94adb9f60..c1ab0fb5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-19 Bruno Haible + + * tests/test-pipe.c (test_pipe): Pass slave_process = true argument + consistently. + 2009-07-18 Eric Blake test-pipe: fix mingw build diff --git a/tests/test-pipe.c b/tests/test-pipe.c index b5f70d0ea..9e806869f 100644 --- a/tests/test-pipe.c +++ b/tests/test-pipe.c @@ -58,8 +58,8 @@ test_pipe (const char *argv0, bool stderr_closed) argv[0] = argv0; argv[1] = stderr_closed ? "9" : "8"; argv[2] = NULL; - pid = create_pipe_bidi(argv0, argv0, (char **) argv, - false, true, true, fd); + pid = create_pipe_bidi (argv0, argv0, (char **) argv, + false, true, true, fd); ASSERT (0 <= pid); ASSERT (STDERR_FILENO < fd[0]); ASSERT (STDERR_FILENO < fd[1]); @@ -71,7 +71,7 @@ test_pipe (const char *argv0, bool stderr_closed) ASSERT (read (fd[0], buffer, 2) == 1); /* Wait for child. */ - ASSERT (wait_subprocess (pid, argv0, true, false, false, true, NULL) == 0); + ASSERT (wait_subprocess (pid, argv0, true, false, true, true, NULL) == 0); ASSERT (close (fd[0]) == 0); ASSERT (close (fd[1]) == 0);