mirror of
https://github.com/versity/scoutfs.git
synced 2026-08-21 14:46:42 +00:00
scoutfs-tests: prepend our paths to PATH
We add directories of our built binaries for tests to find. Let's prepend them to PATH so that we find them before any installed binaries in the system. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
+4
-4
@@ -262,8 +262,8 @@ if [ -n "$T_UTILS_REPO" ]; then
|
||||
cmd sync
|
||||
cmd cd -
|
||||
|
||||
# we can now run the built scoutfs binary
|
||||
PATH="$PATH:$T_UTILS_REPO/src"
|
||||
# we can now run the built scoutfs binary, prefer over installed
|
||||
PATH="$T_UTILS_REPO/src:$PATH"
|
||||
fi
|
||||
|
||||
# verify xfstests branch
|
||||
@@ -389,8 +389,8 @@ fi
|
||||
. funcs/exec.sh
|
||||
. funcs/filter.sh
|
||||
|
||||
# give tests access to built binaries in src/
|
||||
PATH="$PATH:$PWD/src"
|
||||
# give tests access to built binaries in src/, prefer over installed
|
||||
PATH="$PWD/src:$PATH"
|
||||
|
||||
msg "running tests"
|
||||
> "$T_RESULTS/skip.log"
|
||||
|
||||
Reference in New Issue
Block a user