Update configure tests after addition of the online expansion.

Obtained from:	Fudo Security
This commit is contained in:
Pawel Jakub Dawidek 2019-04-03 23:58:58 +00:00
parent 2f07cdf871
commit 1e560a0ca4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345863

View File

@ -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}
}