]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* tests/scripts/features/output-sync: Revert bad change in 0c5a9f9b92a
authorPaul Smith <psmith@gnu.org>
Sun, 12 Nov 2017 23:03:22 +0000 (18:03 -0500)
committerPaul Smith <psmith@gnu.org>
Sat, 18 Nov 2017 14:31:31 +0000 (09:31 -0500)
tests/scripts/features/output-sync

index 0ecc9194e43b2774896570f8dda0f84e65ccecdf..1407e81a9dcaf62d0c1e1c64bcf33dc39022cbeb 100644 (file)
@@ -45,7 +45,7 @@ sub output_sync_clean {
 # reliable.  If things are too fast, then sometimes a different job will steal
 # the output sync lock and the output is mis-ordered from what we expect.
 sub output_sync_wait {
-    return "while [ ! -f ../mksync.$_[0] ]; do :; done; $sleep_command 1";
+    return "while [ ! -f ../mksync.$_[0] ]; do :; done; $CMD_rmfile ../mksync.$_[0].wait; $sleep_command 1";
 }
 sub output_sync_set {
     return "date > ../mksync.$_[0]";