New upstream version 1.8
[debian/gzip] / tests / unpack-invalid
index 7b2d2fcdb1e56ecdc8c1c9d0ab5f9660ec05d9a4..acea97e83b75d4df9f133f9d1140c27157f4a2a5 100755 (executable)
@@ -2,7 +2,7 @@
 # gzip should report invalid 'unpack' input when uncompressing.
 # With gzip-1.5, it would output invalid data instead.
 
-# Copyright (C) 2012-2013 Free Software Foundation, Inc.
+# Copyright (C) 2012-2016 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -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