From: Nick Mathewson Date: Mon, 19 Nov 2012 14:07:13 +0000 (-0500) Subject: Fix a bug when running "make verify" out-of-tree X-Git-Tag: release-2.1.2-alpha^0 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c142069098ce5e39e7c03a50172e5bd18b015330;p=libevent Fix a bug when running "make verify" out-of-tree --- 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 () {