test: make it sure that devices are processed by udevd before running subtests
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 31 May 2024 07:10:55 +0000 (16:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 31 May 2024 07:10:55 +0000 (16:10 +0900)
test/units/TEST-50-DISSECT.sh

index b1286d70ff5dcc953b5821a6956d040bd7a04776..0e378a8e5b3718989d583eb81bc9dd99f58bc918 100755 (executable)
@@ -206,6 +206,7 @@ if [[ -n "${OPENSSL_CONFIG:-}" ]]; then
     udevadm lock --device="${loop}p3" dd if="$MINIMAL_IMAGE.verity-sig" of="${loop}p3"
 fi
 losetup -d "$loop"
+udevadm settle --timeout=60
 
 : "Run subtests"