]> granicus.if.org Git - libevent/commitdiff
Fix a bug when running "make verify" out-of-tree release-2.1.2-alpha
authorNick Mathewson <nickm@torproject.org>
Mon, 19 Nov 2012 14:07:13 +0000 (09:07 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 19 Nov 2012 14:07:13 +0000 (09:07 -0500)
test/test.sh

index d47bd2d82cc8df7f1c0adc49d371907c8f680001..a4f03effe6c25b2c08d66a4cca8130e64a00cf5a 100755 (executable)
@@ -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 () {