diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2024-07-14 16:13:13 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2024-07-14 18:29:14 +0000 |
| commit | 498b3b494b8b3e500e555a9653d950b9e25a2f1a (patch) | |
| tree | 7883aa76572e51f23c5c184fed9b308f6dfad246 /usr.bin/lockf/tests | |
| parent | ab27e232b14c07317642a2e4c546c9b71bd9c00b (diff) | |
Diffstat (limited to 'usr.bin/lockf/tests')
| -rw-r--r-- | usr.bin/lockf/tests/lockf_test.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/lockf/tests/lockf_test.sh b/usr.bin/lockf/tests/lockf_test.sh index cc6938d2306e..d73c7590653d 100644 --- a/usr.bin/lockf/tests/lockf_test.sh +++ b/usr.bin/lockf/tests/lockf_test.sh @@ -47,7 +47,9 @@ basic_body() lpid=$! # Make sure that the lock exists... - atf_check test -e "testlock" + while ! test -e "testlock"; do + sleep 0.1 + done # Attempt both verbose and silent re-lock atf_check -s exit:${EX_TEMPFAIL} -e not-empty \ |
