From 97c5f47c940cd699e3f92536d66e33bac4833e84 Mon Sep 17 00:00:00 2001 From: Ondrej Kozina Date: Wed, 5 Jun 2024 11:02:38 +0200 Subject: [PATCH] Add opal test for detached header erase command. --- tests/compat-test-opal | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/compat-test-opal b/tests/compat-test-opal index 3a71f1267..8ba164a51 100755 --- a/tests/compat-test-opal +++ b/tests/compat-test-opal @@ -412,6 +412,7 @@ function test_device_detached_header() #hdr, #opal_mode, #format_params, #--inte $CRYPTSETUP close $DEV_NAME --header $1 || fail dd if=$OPAL2_DEV of=/dev/zero bs=1M count=1 iflag=direct >/dev/null 2>&1 && fail echo $OPAL2_ADMIN_PIN | $CRYPTSETUP luksErase $OPAL2_DEV -q --header $1 || fail + $CRYPTSETUP isLuks --type luks2 $1 && fail rm -f $1 }