fstests: Add path $here before src/<file>
[xfstests-dev.git] / tests / xfs / 285
index ad8b1bac4d797ad0c0fb0ddaec7242dca379f7a6..5c341adeba32572f91ce874f9bd4e8662081b2e7 100755 (executable)
@@ -43,7 +43,7 @@ _scratch_mount
 STRESS_DIR="$SCRATCH_MNT/testdir"
 mkdir -p $STRESS_DIR
 
-cpus=$(( $(src/feature -o) * 4 * LOAD_FACTOR))
+cpus=$(( $($here/src/feature -o) * 4 * LOAD_FACTOR))
 $FSSTRESS_PROG -d $STRESS_DIR -p $cpus -n $((cpus * 100000)) $FSSTRESS_AVOID >/dev/null 2>&1 &
 $XFS_SCRUB_PROG -d -T -v -n $SCRATCH_MNT >> $seqres.full