mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
tests: Avoid verity concurrent test failure on device node check
This regularly crashes on Alpine Linux that use some strange configuration. Udev settle seems to help, despite it should be noop on recent systems...
This commit is contained in:
@@ -458,6 +458,8 @@ check_concurrent() # $1 hash
|
||||
wait
|
||||
grep -q "Command failed with code .* (wrong or missing parameters)" $DEV_OUT && fail
|
||||
grep -q "Command failed with code .* (wrong device or file specified)." $DEV_OUT && fail
|
||||
# Some distros have strange udev rules, settle here seems to be necessary
|
||||
udevadm settle >/dev/null 2>&1
|
||||
check_exists
|
||||
rm $DEV_OUT
|
||||
$VERITYSETUP close $DEV_NAME >/dev/null 2>&1 || fail
|
||||
|
||||
Reference in New Issue
Block a user