maint: tweak a distcheck rule
[debian/gzip] / tests / null-suffix-clobber
index 0fa719134cd8ed5ebbf4a0b8c37ae542612bb1a1..c0f62e07e963bf376bb2c4ac5eddb6a85fc26ce9 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Before gzip-1.5, gzip -d -S '' k.gz would delete F.gz and not create "F"
 
-# Copyright (C) 2010 Free Software Foundation, Inc.
+# Copyright (C) 2010-2017 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
@@ -27,8 +27,8 @@ fail=0
 
 gzip ---presume-input-tty -d -S '' F.gz < yes > out 2>err && fail=1
 
-compare out /dev/null || fail=1
-compare err expected-err || fail=1
+compare /dev/null out || fail=1
+compare expected-err err || fail=1
 
 test -f F.gz || fail=1