tests/testlib/wait-on-file
changeset 49198 a68b37524d50
parent 44818 9d7d53771e5f
child 51943 9cfc95e901ec
--- a/tests/testlib/wait-on-file	Tue Apr 05 04:41:09 2022 +0200
+++ b/tests/testlib/wait-on-file	Tue Apr 05 04:43:34 2022 +0200
@@ -29,7 +29,7 @@
     touch "$create"
     create=""
 fi
-while [ "$timer" -gt 0 ] && [ ! -f "$wait_on" ]; do
+while [ "$timer" -gt 0 ] && !([ -e "$wait_on" ] || [ -L "$wait_on" ]) ; do
     timer=$(( $timer - 1))
     sleep 0.02
 done