]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfstests: fix btrfs/002 to not use the scratch dev pool
authorJosef Bacik <jbacik@fusionio.com>
Fri, 18 Oct 2013 18:26:23 +0000 (18:26 +0000)
committerRich Johnston <rjohnston@sgi.com>
Tue, 22 Oct 2013 20:53:17 +0000 (15:53 -0500)
This test doesn't need the scratch dev pool and it also doesn't call
_require_scratch_dev_pool, so just kick out the scratch dev pool part of the
test.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/btrfs/002

index f4389aeaacb9774399ed4a1b0f863ff5a25c0a9c..19a62c6ae73dff292310c726f0aede5a98cb170c 100755 (executable)
@@ -45,9 +45,8 @@ _need_to_be_root
 _supported_fs btrfs
 _supported_os Linux
 _require_scratch
-_require_scratch_dev_pool
 
-_scratch_pool_mkfs > /dev/null 2>&1 || _fail "mkfs failed"
+_scratch_mkfs > /dev/null 2>&1 || _fail "mkfs failed"
 _scratch_mount
 
 # Create and save sha256sum