From 1e560a0ca46eaa67ddf1f3f124fd529e09bc5d1e Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Wed, 3 Apr 2019 23:58:58 +0000 Subject: [PATCH] Update configure tests after addition of the online expansion. Obtained from: Fudo Security --- tests/sys/geom/class/eli/configure_test.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/sys/geom/class/eli/configure_test.sh b/tests/sys/geom/class/eli/configure_test.sh index a90a3da3e4d..2e5f4e6ca77 100644 --- a/tests/sys/geom/class/eli/configure_test.sh +++ b/tests/sys/geom/class/eli/configure_test.sh @@ -17,19 +17,19 @@ configure_b_B_body() atf_check geli init -B none -P -K /dev/null ${md} - atf_check -s exit:0 -o match:'flags: 0x0$' geli dump ${md} + atf_check -s exit:0 -o match:'flags: 0x200$' geli dump ${md} atf_check geli init -B none -b -P -K /dev/null ${md} - atf_check -s exit:0 -o match:'flags: 0x2$' geli dump ${md} + atf_check -s exit:0 -o match:'flags: 0x202$' geli dump ${md} atf_check geli configure -B ${md} - atf_check -s exit:0 -o match:'flags: 0x0$' geli dump ${md} + atf_check -s exit:0 -o match:'flags: 0x200$' geli dump ${md} atf_check geli configure -b ${md} - atf_check -s exit:0 -o match:'flags: 0x2$' geli dump ${md} + atf_check -s exit:0 -o match:'flags: 0x202$' geli dump ${md} atf_check geli attach -p -k /dev/null ${md} @@ -39,13 +39,13 @@ configure_b_B_body() atf_check -o not-match:'^Flags: .*BOOT' geli list ${md}.eli - atf_check -s exit:0 -o match:'flags: 0x0$' geli dump ${md} + atf_check -s exit:0 -o match:'flags: 0x200$' geli dump ${md} atf_check geli configure -b ${md} atf_check -s exit:0 -o match:'^Flags: .*BOOT' geli list ${md}.eli - atf_check -s exit:0 -o match:'flags: 0x2$' geli dump ${md} + atf_check -s exit:0 -o match:'flags: 0x202$' geli dump ${md} atf_check geli detach ${md} }