xfs/144: Use _qsetup instead of qsetup
[xfstests-dev.git] / tests / xfs / 144
index c5995cc5d6ab6e9cf92a2707052e81720d2ac304..74988090893c459d0299ceca0273d162ecd2a335 100755 (executable)
@@ -38,25 +38,6 @@ _require_scratch
 
 rm -f $seqres.full
 
-qsetup()
-{
-       opt=$1
-       enforce=0
-       if [ $opt = "u" -o $opt = "uno" ]; then
-               type=u
-               eval `_choose_uid`
-       elif [ $opt = "g" -o $opt = "gno" ]; then
-               type=g
-               eval `_choose_gid`
-       elif [ $opt = "p" -o $opt = "pno" ]; then
-               type=p
-               eval `_choose_prid`
-       fi
-       [ $opt = "u" -o $opt = "g" -o $opt = "p" ] && enforce=1
-
-       echo "Using type=$type id=$id" >> $seqres.full
-}
-
 exercise() {
        _scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs
        cat $tmp.mkfs >>$seqres.full
@@ -66,7 +47,7 @@ exercise() {
 
        _qmount
 
-       qsetup $1
+       _qsetup $1
 
        echo "Using type=$type id=$id" >>$seqres.full