btrfs-progs: tests: add more coverage to mkfs-tests/013-reserved-1M-for-single
authorDavid Sterba <dsterba@suse.com>
Tue, 23 Jan 2018 15:57:57 +0000 (16:57 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 31 Jan 2018 14:14:02 +0000 (15:14 +0100)
Though the newly added mkfs profiles should not be affected, let's add
the remaining valid single device profiles for better coverage.

Signed-off-by: David Sterba <dsterba@suse.com>
tests/mkfs-tests/013-reserved-1M-for-single/test.sh

index 775573e..1490df2 100755 (executable)
@@ -4,7 +4,7 @@
 #
 # Other profiles will cause mkfs.btrfs to allocate new meta/sys chunks
 # using btrfs_alloc_chunk() which won't use the 0~1M range, so other profiles
-# are safe.
+# are safe, but we test them nevertheless.
 
 source "$TOP/tests/common"
 
@@ -36,3 +36,9 @@ do_one_test ()
 
 do_one_test --mixed
 do_one_test -m single
+
+do_one_test
+do_one_test -m dup
+do_one_test -d dup
+do_one_test -m dup -d dup
+do_one_test --mixed -m dup -d dup