]> diplodocus.org Git - nmh/commitdiff
Replace GNUism with standard touch flag in test-scan-file.
authorEric Gillespie <epg@pretzelnet.org>
Sat, 19 Sep 2020 22:44:31 +0000 (17:44 -0500)
committerEric Gillespie <epg@pretzelnet.org>
Sat, 19 Sep 2020 22:44:31 +0000 (17:44 -0500)
test/scan/test-scan-file

index d2a51b0..daf3f3f 100755 (executable)
@@ -69,7 +69,7 @@ do
     destfile=$MH_TEST_DIR/Maildir/$subdir/$timepart.P$$.testhost$info
     mv "$MH_TEST_DIR/Mail/inbox/$i" "$destfile"
     # Maildir sorts by mtime, so make sure all times are unique
-    touch -c -m --date="@$timepart" "$destfile"
+    touch -c -m -d "2019-09-07T16:00:$i" "$destfile"
 done
 
 # should be empty now; remove it to make sure "scan -file" is not using it