Mercurial > hg > octave-lojdl > gnulib-hg
changeset 11717:9f091df7a67d
Pass slave_process argument consistently.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 19 Jul 2009 10:38:05 +0200 |
parents | b2dcdf7af453 |
children | bc9e2ee3f5b2 |
files | ChangeLog tests/test-pipe.c |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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);