# HG changeset patch # User Bruno Haible # Date 1247992685 -7200 # Node ID 9f091df7a67d6b1b92998a8a303d92fd5f2a0095 # Parent b2dcdf7af453ba44015975e51da5950c839c4253 Pass slave_process argument consistently. diff --git a/ChangeLog b/ChangeLog --- 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 --- a/tests/test-pipe.c +++ b/tests/test-pipe.c @@ -58,8 +58,8 @@ 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 @@ 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);