TEST-13-*: in busybox container sleep(1) takes a delay in seconds only

This commit is contained in:
Franck Bui
2021-08-18 17:37:55 +02:00
parent dfd73ccb14
commit 6c8ba239d5
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ if echo test >>/run/host/os-release; then exit 1; fi
}
function check_machinectl_bind {
local _cmd='for i in $(seq 1 20); do if test -f /tmp/marker; then exit 0; fi; sleep 0.5; done; exit 1;'
local _cmd='for i in $(seq 1 20); do if test -f /tmp/marker; then exit 0; fi; usleep 500000; done; exit 1;'
cat >/run/systemd/system/nspawn_machinectl_bind.service <<EOF
[Service]