]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(TEST-62-SKIPCPIO): test always skipped due to buggy `test_check`
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Tue, 22 Aug 2023 07:50:06 +0000 (09:50 +0200)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sun, 31 Mar 2024 02:14:25 +0000 (22:14 -0400)
Fixes https://github.com/dracutdevs/dracut/commit/4235c03

test/TEST-62-SKIPCPIO/test.sh

index 2311da3811ce734ca1297a7e119a73646f67b4e7..ba20a423caf075560ea72d45e2d50738d3a5420b 100755 (executable)
@@ -6,7 +6,7 @@
 TEST_DESCRIPTION="test skipcpio"
 
 test_check() {
-    cpio dd truncate find sort diff &> /dev/null
+    (command -v cpio && command -v find && command -v diff) &> /dev/null
 }
 
 skipcpio_simple() {