tests: use local dir for output
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 10 Oct 2014 18:41:25 +0000 (11:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 10 Oct 2014 18:42:01 +0000 (11:42 -0700)
Reported by Kiyoshi KANAZAWA in: http://bugs.gnu.org/18679
* tests/unpack-invalid: Use local directory, not /tmp, for output.

tests/unpack-invalid

index daa7b25fd209aebfdb16aafd79f47fe85500f18f..2569cdb764323f5be4ff5fad97a53e46e67ade3d 100755 (executable)
@@ -26,7 +26,7 @@ for input in \
 
   printf "$input" >in || framework_failure_
 
-  if gzip -d <in >/tmp/out 2>/tmp/err; then
+  if gzip -d <in >out 2>err; then
     fail=1
   else
     fail=0