diff options
author | Roland McGrath <roland@gnu.org> | 1995-02-24 19:47:17 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-02-24 19:47:17 +0000 |
commit | e66f63fb6364729aad510f5b3feb8a046775ec1a (patch) | |
tree | 9a30659f0c20386836b08c3f032014f157ac72b6 /stdio/test-popen.c | |
parent | b5388cb6b1e845544760ddc66b6581c5df9f2616 (diff) | |
download | glibc-e66f63fb6364729aad510f5b3feb8a046775ec1a.tar.gz glibc-e66f63fb6364729aad510f5b3feb8a046775ec1a.tar.xz glibc-e66f63fb6364729aad510f5b3feb8a046775ec1a.zip |
Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/bug4.c: Put temporary files in /tmp. * stdio/bug3.c: Likewise. * stdio/bug5.c: Likewise. * stdio/test-fseek.c: Likewise. * stdio/test-popen.c: Likewise.
Diffstat (limited to 'stdio/test-popen.c')
-rw-r--r-- | stdio/test-popen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdio/test-popen.c b/stdio/test-popen.c index df6138b76f..b452f3f63c 100644 --- a/stdio/test-popen.c +++ b/stdio/test-popen.c @@ -37,7 +37,7 @@ DEFUN_VOID(main) FILE *output, *input; int wstatus, rstatus; - output = popen ("/bin/cat >tstpopen.tmp", "w"); + output = popen ("/bin/cat >/tmp/tstpopen.tmp", "w"); if (output == NULL) { perror ("popen"); @@ -47,10 +47,10 @@ DEFUN_VOID(main) write_data (output); wstatus = pclose (output); printf ("writing pclose returned %d\n", wstatus); - input = popen ("/bin/cat tstpopen.tmp", "r"); + input = popen ("/bin/cat /tmp/tstpopen.tmp", "r"); if (input == NULL) { - perror ("tstpopen.tmp"); + perror ("/tmp/tstpopen.tmp"); puts ("Test FAILED!"); exit (1); } |