fstests: Add path $here before src/<file>
[xfstests-dev.git] / tests / xfs / 197
index 76f6f0d6b9a71e2e2dcee37d77b7f12c09d6caba..55a321a189714d1dc64c097be0e82fbd099ccfee 100755 (executable)
@@ -35,7 +35,7 @@ _supported_fs xfs
 _supported_os Linux
 _require_test
 
-bitsperlong=`src/feature -w`
+bitsperlong=`$here/src/feature -w`
 if [ "$bitsperlong" -ne 32 ]; then
        _notrun "This test is only valid on 32 bit machines"
 fi
@@ -44,7 +44,7 @@ mkdir $TEST_DIR/ttt
 for n in {1..168}; do
     touch $TEST_DIR/ttt/$n;
 done
-src/t_dir_offset $TEST_DIR/ttt
+$here/src/t_dir_offset $TEST_DIR/ttt
 
 # success, all done
 echo "*** done"