]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
common/config: add $here to FSSTRESS_PROG
authorDarrick J. Wong <djwong@kernel.org>
Mon, 3 Feb 2025 22:00:31 +0000 (14:00 -0800)
committerZorro Lang <zlang@kernel.org>
Tue, 18 Feb 2025 04:42:40 +0000 (12:42 +0800)
In general we're supposed to specify full paths to fstests binaries with
$here so that subtests can change the current working directory without
issues.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/config

index 77f3fc153eb7314b32fb3c4bb354b9578f84a462..ae9aa3f4b0b8fcb5169601c372a9f20bc2584b84 100644 (file)
@@ -128,7 +128,7 @@ export MOUNT_PROG="$(type -P mount)"
 export UMOUNT_PROG="$(type -P umount)"
 [ "$UMOUNT_PROG" = "" ] && _fatal "umount not found"
 
-export FSSTRESS_PROG="./ltp/fsstress"
+export FSSTRESS_PROG="$here/ltp/fsstress"
 [ ! -x $FSSTRESS_PROG ] && _fatal "fsstress not found or executable"
 
 export PERL_PROG="$(type -P perl)"