summaryrefslogtreecommitdiff
path: root/test/TEST-50-DISSECT
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2020-07-10 16:01:15 +0100
committerLuca Boccassi <luca.boccassi@microsoft.com>2020-07-15 19:35:40 +0100
commita5f1d665d71ef25219053cefeca262234ebc9985 (patch)
tree6b7692a1a7821163c9f8af02f919c4bdf96980d1 /test/TEST-50-DISSECT
parent6939873412c0a08368f5f57147ee7c1e4b413b93 (diff)
downloadsystemd-a5f1d665d71ef25219053cefeca262234ebc9985.tar.gz
test: exercise systemd-dissect with GPT and verity in TEST-50-DISSECT
Diffstat (limited to 'test/TEST-50-DISSECT')
-rwxr-xr-xtest/TEST-50-DISSECT/test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/TEST-50-DISSECT/test.sh b/test/TEST-50-DISSECT/test.sh
index 28a7f986bf..31b707c08f 100755
--- a/test/TEST-50-DISSECT/test.sh
+++ b/test/TEST-50-DISSECT/test.sh
@@ -10,6 +10,7 @@ TEST_NO_NSPAWN=1
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
# Need loop devices for systemd-dissect
test_create_image() {
@@ -30,6 +31,8 @@ test_create_image() {
inst_binary md5sum
inst_binary mksquashfs
inst_binary veritysetup
+ inst_binary sfdisk
+ inst_binary losetup
)
}