diff --git a/test/test_bundle.py b/test/test_bundle.py index 553e074a2..bcf995da7 100644 --- a/test/test_bundle.py +++ b/test/test_bundle.py @@ -137,3 +137,15 @@ def test_bundle_crypt(tmp_path): out, err, exitcode = run(f"rauc -c test.conf info {tmp_path}/out.raucb") assert exitcode == 0 + + +def test_bundle_adaptive(tmp_path, bundle): + bundle.manifest["image.rootfs"] = { + "filename": "rootfs.img", + "adaptive": "block-hash-index", + } + bundle.make_random_image("rootfs", 4097, "random rootfs") + out, err, exitcode = bundle.build_nocheck() + assert exitcode == 1 + assert "Creating 'verity' format bundle" in out + assert not bundle.output.is_file()