summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/functions.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functions.sh b/tests/functions.sh
index a624c3e2c..438ca3a2f 100644
--- a/tests/functions.sh
+++ b/tests/functions.sh
@@ -222,6 +222,9 @@ function ts_init_env {
top_srcdir=$(ts_abspath $top_srcdir)
top_builddir=$(ts_abspath $top_builddir)
+ # some ul commands search other ul commands in $PATH
+ export PATH="$top_builddir:$PATH"
+
TS_SCRIPT="$mydir/$(basename $0)"
TS_SUBDIR=$(dirname $TS_SCRIPT)
TS_TESTNAME=$(basename $TS_SCRIPT)