btrfs: use _nocheck for btrfs/011 and btrfs/012
authorJosef Bacik <jbacik@fb.com>
Mon, 29 Sep 2014 02:55:20 +0000 (12:55 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Sep 2014 02:55:20 +0000 (12:55 +1000)
These two tests blow up on the scratch test, but 011 leaves the devices in a
state where the first scratch dev is no longer part of any file system and 012
leaves the scratch dev as an ext4 file system.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/011
tests/btrfs/012

index faa0402d4cb78f0a38ded8dc6fdf51cd51b0c818..02070578f535f7234d566b4581edb6428d95ee46 100755 (executable)
@@ -61,7 +61,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # real QA test starts here
 _need_to_be_root
 _supported_fs btrfs
 # real QA test starts here
 _need_to_be_root
 _supported_fs btrfs
-_require_scratch
+_require_scratch_nocheck
 _require_scratch_dev_pool 4
 _require_command $BTRFS_SHOW_SUPER_PROG btrfs-show-super
 
 _require_scratch_dev_pool 4
 _require_command $BTRFS_SHOW_SUPER_PROG btrfs-show-super
 
index 124c8ae007294b0eabf55842b908c608aa8c7af5..9e3f991291d05e43b9ecf1b71ec6674c41c0b660 100755 (executable)
@@ -52,7 +52,7 @@ _cleanup()
 # Modify as appropriate.
 _supported_fs btrfs
 _supported_os Linux
 # Modify as appropriate.
 _supported_fs btrfs
 _supported_os Linux
-_require_scratch
+_require_scratch_nocheck
 
 BTRFS_CONVERT_PROG="`set_prog_path btrfs-convert`"
 E2FSCK_PROG="`set_prog_path e2fsck`"
 
 BTRFS_CONVERT_PROG="`set_prog_path btrfs-convert`"
 E2FSCK_PROG="`set_prog_path e2fsck`"