TEST-80: synchronize explicitly instead of by time

This removes "sleep" invocations, and makes the notify access testcase a
lot more robust to runtime jitter. We use a pair of fifos in the fs to
sync instead.

Also various other improvoements, including comments.

(Also removes the unnecessary "no-qemu" restriction)
This commit is contained in:
Lennart Poettering
2023-03-29 12:59:53 +09:00
committed by Yu Watanabe
parent 49e8342965
commit 09ba6d1a14
3 changed files with 73 additions and 17 deletions
-1
View File
@@ -3,7 +3,6 @@
set -e
TEST_DESCRIPTION="test NotifyAccess through sd-notify"
TEST_NO_QEMU=1
# shellcheck source=test/test-functions
. "${TEST_BASE_DIR:?}/test-functions"