summaryrefslogtreecommitdiff
path: root/testsuite/runtest
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-xtestsuite/runtest5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 10563d7..5c185c5 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -78,9 +78,10 @@ run_oldstyle_applet_tests()
lcwd=$(pwd)
-[ x"$tsdir" != x ] || tsdir="$lcwd"
-[ x"$bindir" != x ] || bindir="${lcwd%/*}" # one directory up from $lcwd
+[ x"$tsdir" != x"" ] || tsdir="$lcwd"
+[ x"$bindir" != x"" ] || bindir="${lcwd%/*}" # one directory up from $lcwd
PATH="$bindir:$PATH"
+export bindir # some tests need to look at $bindir/.config
if [ x"$VERBOSE" = x ]; then
export VERBOSE=