Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: hdimage: add missing dependencies #257

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions test/hdimage.test
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ test_expect_success fdisk-gpt,sfdisk-gpt "hdimage7" "
test_cmp '${testdir}/hdimage7.fdisk' hdimage7.fdisk
"

test_expect_success fdisk-gpt,sfdisk-gpt "hdimage-hybrid" "
exec_test_set_prereq hexdump
test_expect_success fdisk-gpt,sfdisk-gpt,hexdump "hdimage-hybrid" "
setup_test_images &&
run_genimage hdimage-hybrid.config &&
sfdisk_validate images/hybrid.hdimage &&
Expand Down Expand Up @@ -158,7 +159,7 @@ test_expect_success "bootloader-hole5" "
setup_gpt_files &&
OFFSET=128K run_genimage hole.config"

test_expect_success "hdimage no-partition" "
test_expect_success hexdump "hdimage no-partition" "
dd if=/dev/zero bs=1 count=100 | tr '\000' '\377' > input/block1.img &&
dd if=/dev/zero bs=1 count=50 | tr '\000' '\252' > input/block2.img &&
dd if=/dev/zero bs=1 count=75 | tr '\000' '\167' > input/block3.img &&
Expand All @@ -167,7 +168,7 @@ test_expect_success "hdimage no-partition" "
test_cmp 'hdimage-nopart.hexdump' '${testdir}/hdimage-nopart.hexdump'
"

test_expect_success "hdimage forced-primary" "
test_expect_success sfdisk "hdimage forced-primary" "
setup_test_images &&
run_genimage hdimage-forced-primary.config &&
sfdisk_validate images/test.hdimage &&
Expand Down
Loading