projects
/
debian
/
gzip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
maint: use "returns_" rather than explicit comparison with "$?"
[debian/gzip]
/
tests
/
zdiff
diff --git
a/tests/zdiff
b/tests/zdiff
index 0bb7c7dfdcf93ecd2614521a941a962871465907..eee47b371f380da0396fe1221eebd59e51084a7f 100755
(executable)
--- a/
tests/zdiff
+++ b/
tests/zdiff
@@
-32,8
+32,7
@@
cat <<EOF > exp
EOF
fail=0
-zdiff a.gz b.gz > out 2>&1
-test $? = 1 || fail=1
+returns_ 1 zdiff a.gz b.gz > out 2>&1 || fail=1
compare exp out || fail=1