From cbfc35f6b9395805feeaace0b285d50ff6b1fe6c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 30 Apr 2013 14:26:47 -0400 Subject: [PATCH] Fix some out-of-tree build bugs --- test/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.sh b/test/test.sh index a4f03eff..363ffecc 100755 --- a/test/test.sh +++ b/test/test.sh @@ -28,7 +28,7 @@ fi TEST_DIR=. TEST_SRC_DIR=. -T=`echo "$0" | sed -e 's/test.sh$//'` +T=`echo "$0" | sed -e 's/test.sh$//' | sed -e 's/test-script.sh//' ` if test -x "$T/test-init" then TEST_DIR="$T" @@ -82,7 +82,7 @@ run_tests () { fi done announce_n " test-dumpevents: " - if python2 -c 'import sys; assert(sys.version_info >= (2, 4))' 2>/dev/null; then + if python2 -c 'import sys; assert(sys.version_info >= (2, 4))' 2>/dev/null && -f $TEST_SRC_DIR/check-dumpevents; then if $TEST_DIR/test-dumpevents | python2 $TEST_SRC_DIR/check-dumpevents.py >> "$TEST_OUTPUT_FILE" ; then announce OKAY ; -- 2.40.0