diff --git a/test/units/TEST-58-REPART.sh b/test/units/TEST-58-REPART.sh index 23548d9cea..9802f145bc 100755 --- a/test/units/TEST-58-REPART.sh +++ b/test/units/TEST-58-REPART.sh @@ -1942,6 +1942,61 @@ EOF cmp "$imgs/test1.img" "$imgs/test2.img" } +testcase_luks2_keyhash() { + local defs imgs output root + + defs="$(mktemp --directory "/tmp/test-repart.defs.XXXXXXXXXX")" + imgs="$(mktemp --directory "/var/tmp/test-repart.imgs.XXXXXXXXXX")" + root="$(mktemp --directory "/var/test-repart.root.XXXXXXXXXX")" + # shellcheck disable=SC2064 + trap "rm -rf '$defs' '$imgs' '$root'" RETURN + chmod 0755 "$defs" + + echo "*** testcase for fixate-volume-key ***" + + volume="test-repart-lukskeyhash-$RANDOM" + + tee "$defs/root.conf" <