aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/runtest4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 34f0de2b3..660d08eca 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -82,8 +82,8 @@ run_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"
if [ x"$VERBOSE" = x ]; then