summaryrefslogtreecommitdiffstats
path: root/test/TEST-50-DISSECT/test.sh
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-06-02 21:10:08 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-06-05 16:50:13 +0200
commit70bdf6e661f67dfbfd6a198f7d1ebc6fdf0dce62 (patch)
tree87f5fc76ee5da8bfac09ad464f30ddafec89cd40 /test/TEST-50-DISSECT/test.sh
parenttest: fix indentation (diff)
downloadsystemd-70bdf6e661f67dfbfd6a198f7d1ebc6fdf0dce62.tar.xz
systemd-70bdf6e661f67dfbfd6a198f7d1ebc6fdf0dce62.zip
test: introduce test_require_bin() and use it
No functional change.
Diffstat (limited to 'test/TEST-50-DISSECT/test.sh')
-rwxr-xr-xtest/TEST-50-DISSECT/test.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/TEST-50-DISSECT/test.sh b/test/TEST-50-DISSECT/test.sh
index 2d44ca2b6e..bcc81749af 100755
--- a/test/TEST-50-DISSECT/test.sh
+++ b/test/TEST-50-DISSECT/test.sh
@@ -12,9 +12,7 @@ TEST_INSTALL_VERITY_MINIMAL=1
# shellcheck source=test/test-functions
. "${TEST_BASE_DIR:?}/test-functions"
-command -v mksquashfs >/dev/null 2>&1 || exit 0
-command -v veritysetup >/dev/null 2>&1 || exit 0
-command -v sfdisk >/dev/null 2>&1 || exit 0
+test_require_bin mksquashfs veritysetup sfdisk
test_append_files() {
instmods squashfs =squashfs