diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-06-02 21:10:08 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-06-05 16:50:13 +0200 |
commit | 70bdf6e661f67dfbfd6a198f7d1ebc6fdf0dce62 (patch) | |
tree | 87f5fc76ee5da8bfac09ad464f30ddafec89cd40 /test/TEST-50-DISSECT/test.sh | |
parent | test: fix indentation (diff) | |
download | systemd-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-x | test/TEST-50-DISSECT/test.sh | 4 |
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 |