From c142069098ce5e39e7c03a50172e5bd18b015330 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 19 Nov 2012 09:07:13 -0500 Subject: [PATCH] Fix a bug when running "make verify" out-of-tree --- test/test.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test.sh b/test/test.sh index d47bd2d8..a4f03eff 100755 --- a/test/test.sh +++ b/test/test.sh @@ -32,10 +32,16 @@ T=`echo "$0" | sed -e 's/test.sh$//'` if test -x "$T/test-init" then TEST_DIR="$T" +elif test -x "./test/test-init" +then + TEST_DIR="./test" fi if test -f "$T/check-dumpevents.py" then TEST_SRC_DIR="$T" +elif test -f "./test/check-dumpevents.py" +then + TEST_SRC_DIR="./test" fi setup () { -- 2.40.0