# gzip accepts trailing NUL bytes; don't fail if there is exactly one.
# Before gzip-1.4, this would fail.
-# Copyright (C) 2009-2011 Free Software Foundation, Inc.
+# Copyright (C) 2009-2013 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
test $ret -eq $i || fail=1
test $ret = 1 && continue
echo $i > exp || fail=1
- compare $i exp || fail=1
+ compare exp $i || fail=1
done
Exit $fail