Author: pjd
Date: Wed Apr  3 23:58:58 2019
New Revision: 345863
URL: https://svnweb.freebsd.org/changeset/base/345863

Log:
  Update configure tests after addition of the online expansion.
  
  Obtained from:        Fudo Security

Modified:
  head/tests/sys/geom/class/eli/configure_test.sh

Modified: head/tests/sys/geom/class/eli/configure_test.sh
==============================================================================
--- head/tests/sys/geom/class/eli/configure_test.sh     Wed Apr  3 23:57:37 
2019        (r345862)
+++ head/tests/sys/geom/class/eli/configure_test.sh     Wed Apr  3 23:58:58 
2019        (r345863)
@@ -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}
 }


_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to