Skip to content

Commit

Permalink
test/dir: be more lenient for mac gh runner capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Will committed May 26, 2024
1 parent 58e85fb commit 1c49652
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tool/test/create-dir-accuracy
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ ec=$((ec + $?))
. "$(dirname "$0")/.ctx"

actual=$(
watch-async "$testdir" -ms 500 > "$testdir.json"
watch-async "$testdir" -ms 800 > "$testdir.json"
while read -r d
do mkdir "$d"
done << .
a
b
c
.
[ "$(uname -s)" = Darwin ] && sleep 0.1
[ "$(uname -s)" = Darwin ] && sleep 0.2
while read -r d
do rmdir "$d"
done << .
Expand Down Expand Up @@ -184,7 +184,7 @@ ec=$((ec + $?))
. "$(dirname "$0")/.ctx"

actual=$(
watch-async "$testdir" -ms 500 > "$testdir.json"
watch-async "$testdir" -ms 800 > "$testdir.json"
while read -r d
do mkdir "$d"
rmdir "$d"
Expand Down

0 comments on commit 1c49652

Please sign in to comment.