maint: avoid unwarranted "make syntax-check" failure
authorJim Meyering <meyering@fb.com>
Sun, 2 Oct 2016 19:51:57 +0000 (12:51 -0700)
committerJim Meyering <meyering@fb.com>
Sun, 2 Oct 2016 20:00:37 +0000 (13:00 -0700)
* tests/timestamp: Reorder "rm" arguments so the doubled-word
syntax-check rule does not detect a false positive "in in" here.

tests/timestamp

index c488760aa832c92219e386ccafbdccdc58042004..7acfe5de6588facb7db113d738fb355ba9b9d0b9 100755 (executable)
@@ -29,7 +29,7 @@ for time in 190101010000 196912312359.59 197001010000 210602070628.16; do
      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.
@@ -37,7 +37,7 @@ for time in 197001010000.01 203801190314.07 203801190314.08 210602070628.15; do
   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,