xfs: fix more xfs_db open-coding instances
[xfstests-dev.git] / tests / xfs / 007
index f2e3584..92ec915 100755 (executable)
@@ -68,8 +68,8 @@ do_test()
                        grep $qino_2 | awk '{print $NF}'`
 
        echo "*** Usage before quotarm ***"
-       xfs_db -c "inode $QINO_1" -c "p core.nblocks" $SCRATCH_DEV
-       xfs_db -c "inode $QINO_2" -c "p core.nblocks" $SCRATCH_DEV
+       _scratch_xfs_db -c "inode $QINO_1" -c "p core.nblocks"
+       _scratch_xfs_db -c "inode $QINO_2" -c "p core.nblocks"
 
        _qmount
        echo "*** turn off $off_opts quotas"
@@ -79,8 +79,8 @@ do_test()
        _scratch_unmount
 
        echo "*** Usage after quotarm ***"
-       xfs_db -c "inode $QINO_1" -c "p core.nblocks" $SCRATCH_DEV
-       xfs_db -c "inode $QINO_2" -c "p core.nblocks" $SCRATCH_DEV
+       _scratch_xfs_db -c "inode $QINO_1" -c "p core.nblocks"
+       _scratch_xfs_db -c "inode $QINO_2" -c "p core.nblocks"
 }