xfs: fix more xfs_db open-coding instances
[xfstests-dev.git] / tests / xfs / 199
index 31338932fd177195f455b03bc69622faa3deb9eb..ee26439591372d4124fded580e8d82f50e0f20f6 100755 (executable)
@@ -51,7 +51,7 @@ _require_scratch
 
 get_features()
 {
-       xfs_db -x $SCRATCH_DEV -c "sb" -c "print $1" | awk '// {print $3}'
+       _scratch_xfs_db -x  -c "sb" -c "print $1" | awk '// {print $3}'
 }
 
 # clear any mkfs options so that we can directly specify the options we need to
@@ -70,7 +70,7 @@ bf2=`get_features bad_features2`
 # Now clear the normal flags
 #
 echo "Clearing features2:"
-xfs_db -x $SCRATCH_DEV -c 'sb' -c 'write features2 0'
+_scratch_xfs_db -x  -c 'sb' -c 'write features2 0'
 
 _scratch_mount
 _scratch_unmount
@@ -80,7 +80,7 @@ rwf2=`get_features features2`
 # Clear the normal flags again for the second rount.
 #
 echo "Clearing features2:"
-xfs_db -x $SCRATCH_DEV -c 'sb' -c 'write features2 0'
+_scratch_xfs_db -x  -c 'sb' -c 'write features2 0'
 
 #
 # And print the flags after a mount ro and remount rw