8 # generate header with bad checksum in primary binary header
12 # 2 full source luks2 image
21 chks=$(echo "Arbitrary chosen string: D'oh!" | calc_sha256_checksum_stdin)
22 write_checksum $chks $TGT_IMG
27 chks_res=$(read_sha256_checksum $TGT_IMG)
28 test "$chks" = "$chks_res" || exit 2
35 test $# -eq 2 || exit 1
37 TGT_IMG=$1/$(test_img_name $0)