Skip to contentSkip to conversation

btrfs: use _nocheck for btrfs/011 and btrfs/012

PATCH In review Josef Bacik 2 participants 2 messages Sep 11, 2014 – Sep 25, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 btrfs: use _nocheck for btrfs/011 and btrfs/012

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,

---
 tests/btrfs/011 | 2 +-
 tests/btrfs/012 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tests/btrfs/011 +1 -1
index faa0402..0207057 100755
@@ -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
-_require_scratch
+_require_scratch_nocheck
 _require_scratch_dev_pool 4
 _require_command $BTRFS_SHOW_SUPER_PROG btrfs-show-super
 
tests/btrfs/012 +1 -1
index f7e5da5..407acbc 100755
@@ -52,7 +52,7 @@ _cleanup()
 # Modify as appropriate.
 _supported_fs btrfs
 _supported_os Linux
-_require_scratch
+_require_scratch_nocheck
 
 BTRFS_CONVERT_PROG="`set_prog_path btrfs-convert`"
 MKFS_EXT4_PROG="`set_prog_path mkfs.ext4`"
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Josef Bacik

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,

Quoted 38 lines
---
 tests/btrfs/011 | 2 +-
 tests/btrfs/012 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tests/btrfs/011 +1 -1
index faa0402..0207057 100755
@@ -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
-_require_scratch
+_require_scratch_nocheck
 _require_scratch_dev_pool 4
 _require_command $BTRFS_SHOW_SUPER_PROG btrfs-show-super
 
tests/btrfs/012 +1 -1
index f7e5da5..407acbc 100755
@@ -52,7 +52,7 @@ _cleanup()
 # Modify as appropriate.
 _supported_fs btrfs
 _supported_os Linux
-_require_scratch
+_require_scratch_nocheck
 
 BTRFS_CONVERT_PROG="`set_prog_path btrfs-convert`"
 MKFS_EXT4_PROG="`set_prog_path mkfs.ext4`"
Signature · 6 lines
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html