From: Eric Gillespie Date: Sat, 19 Sep 2020 22:44:31 +0000 (-0500) Subject: Replace GNUism with standard touch flag in test-scan-file. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/843bc850b2b7732c8969b9ad25e922fb09eaf4b3 Replace GNUism with standard touch flag in test-scan-file. --- diff --git a/test/scan/test-scan-file b/test/scan/test-scan-file index d2a51b09..daf3f3fb 100755 --- a/test/scan/test-scan-file +++ b/test/scan/test-scan-file @@ -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