Skip to content

Commit 5819c95

Browse files
committed
test: verity: Fix test
Fix a bug in the verity test that causes it to fail when the test's input/ folder doesn't exist before starting the test (such as during a make distcheck). Signed-off-by: Nicholas Clark <[email protected]>
1 parent a4a6ace commit 5819c95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/misc.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ exec_test_set_prereq jq
174174
exec_test_set_prereq openssl
175175
exec_test_set_prereq veritysetup
176176
test_expect_success base64,dd,jq,openssl,veritysetup "verity" "
177+
rm -rf input &&
178+
mkdir input &&
177179
setup_signing_ca &&
178180
dd if=/dev/urandom bs=1M count=1 of=input/test.verity-data &&
179181
run_genimage verity.config &&

0 commit comments

Comments
 (0)