diff --git a/tests/checks/exec.fish b/tests/checks/exec.fish index 656156dce..f86c80d8f 100644 --- a/tests/checks/exec.fish +++ b/tests/checks/exec.fish @@ -13,6 +13,8 @@ echo "neg failed: $status" set -l f (mktemp) echo "#!/bin/sh"\r\n"echo foo" > $f chmod +x $f +# Cheesy sleep to avoid "text file is busy" +sleep 0.2 $f #CHECKERR: Failed to execute process '{{.*}}'. Reason: #CHECKERR: The file uses windows line endings (\r\n). Run dos2unix or similar to fix it.