X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tests%2Funpack-invalid;h=acea97e83b75d4df9f133f9d1140c27157f4a2a5;hb=2725db10000bae65e311a9329973b11053b86f1a;hp=daa7b25fd209aebfdb16aafd79f47fe85500f18f;hpb=8b5725caaf7596f7f3ea26ad39cdc0bc02cb2c96;p=debian%2Fgzip diff --git a/tests/unpack-invalid b/tests/unpack-invalid index daa7b25..acea97e 100755 --- a/tests/unpack-invalid +++ b/tests/unpack-invalid @@ -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-2014 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 /tmp/out 2>/tmp/err; then + if gzip -d out 2>err; then fail=1 else fail=0