From c475ff6ff6d7cb85960bb13e82255c993b4dded8 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Mon, 3 Feb 2025 14:00:31 -0800 Subject: [PATCH] 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 --- common/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- 2.39.5