diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-19 09:07:13 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-19 09:07:13 -0500 |
commit | c142069098ce5e39e7c03a50172e5bd18b015330 (patch) | |
tree | 0982dbd51193f90fbe381d9a71c98811bf5e8d9c | |
parent | dc0287c473d3e33f8c6c0e6462ed336c6d7387da (diff) | |
download | libevent-c142069098ce5e39e7c03a50172e5bd18b015330.tar.gz |
Fix a bug when running "make verify" out-of-treerelease-2.1.2-alpha
-rwxr-xr-x | test/test.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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 () { |