From: Darrick J. Wong Date: Mon, 3 Feb 2025 22:00:31 +0000 (-0800) Subject: common/config: add $here to FSSTRESS_PROG X-Git-Tag: v2025.02.23~8 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c475ff6ff6d7cb85960bb13e82255c993b4dded8;p=xfstests-dev.git common/config: add $here to FSSTRESS_PROG 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" Reviewed-by: Dave Chinner Signed-off-by: Zorro Lang --- diff --git a/common/config b/common/config index 77f3fc15..ae9aa3f4 100644 --- a/common/config +++ b/common/config @@ -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)"