]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(IMSM): improve dependency checking for the test
authorJo Zzsi <jozzsicsataban@gmail.com>
Fri, 25 Oct 2024 04:55:57 +0000 (00:55 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Fri, 25 Oct 2024 05:18:13 +0000 (01:18 -0400)
test/TEST-23-IMSM/test.sh

index a866cc90beb5d32a201e3cb8778a0fa8a4206fb7..f14e90def217122a9f5dc8177133deafafca64e1 100755 (executable)
@@ -7,7 +7,7 @@ TEST_DESCRIPTION="root filesystem on LVM PV on a isw dmraid"
 #DEBUGFAIL="$DEBUGFAIL udev.log-priority=debug"
 
 test_check() {
-    command -v dmraid &> /dev/null
+    (command -v dmraid && command -v kpartx) &> /dev/null
 }
 
 client_run() {