From 843bc850b2b7732c8969b9ad25e922fb09eaf4b3 Mon Sep 17 00:00:00 2001 From: Eric Gillespie Date: Sat, 19 Sep 2020 17:44:31 -0500 Subject: [PATCH] Replace GNUism with standard touch flag in test-scan-file. --- test/scan/test-scan-file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.56.0