gzip in
test $? = 2 || fail=1
fi
- rm -f in in.gz
+ rm -f in.gz in
done
# Test that time stamps in range for gzip do not generate warnings.
if touch -t $time in; then
gzip in || fail=1
fi
- rm -f in in.gz
+ rm -f in.gz in
done
# On platforms that fail to support time stamps within gzip's range,
test $? = 2 || fail=1
}
+# Ensure that --no-name does not provoke a time stamp warning.
+: | gzip --no-name > k || fail=1
+
Exit $fail