Pass slave_process argument consistently.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Jul 2009 08:38:05 +0000 (10:38 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Jul 2009 08:38:05 +0000 (10:38 +0200)
ChangeLog
tests/test-pipe.c

index 94adb9f..c1ab0fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-19  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-pipe.c (test_pipe): Pass slave_process = true argument
+       consistently.
+
 2009-07-18  Eric Blake  <ebb9@byu.net>
 
        test-pipe: fix mingw build
index b5f70d0..9e80686 100644 (file)
@@ -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);