X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=blobdiff_plain;f=tests%2Fbtrfs%2F219;h=bff6003e27be2df417c2df0959b005fabd41c4e8;hp=78fca03560e06fd2876449c8f7392c1af9429fec;hb=46f896c0a55d4fd979f473dcd5742f67746e66ec;hpb=bdad282d47daddc0f2f7f18f30bd25a636535de4 diff --git a/tests/btrfs/219 b/tests/btrfs/219 index 78fca035..bff6003e 100755 --- a/tests/btrfs/219 +++ b/tests/btrfs/219 @@ -35,6 +35,7 @@ _cleanup() [ ! -z "$fs_img1" ] && rm -rf $fs_img1 [ ! -z "$fs_img2" ] && rm -rf $fs_img2 [ ! -z "$loop_dev" ] && _destroy_loop_device $loop_dev + _btrfs_rescan_devices } # get standard environment, filters and checks @@ -97,6 +98,7 @@ _mount $loop_dev $loop_mnt > /dev/null 2>&1 || \ _mount -o loop $fs_img2 $loop_mnt1 > /dev/null 2>&1 && \ _fail "We were allowed to mount when we should have failed" +_btrfs_rescan_devices # success, all done echo "Silence is golden" status=0