svn commit: r345863 - head/tests/sys/geom/class/eli

2019-09-03 Thread Pawel Jakub Dawidek
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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r345863 - head/tests/sys/geom/class/eli

2019-04-03 Thread Pawel Jakub Dawidek
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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"