diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-09-24 15:07:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-09-24 15:07:39 -0400 |
commit | eb2188168e2eca96692ec5f60f298f7bc287e990 (patch) | |
tree | 7c5bc481e124d80d6a08d7342642013726e8aa49 /src/test/test_ntor.sh | |
parent | 3f52a33739944c53ecb2fd516a7cdab9fc14b1ba (diff) | |
download | tor-eb2188168e2eca96692ec5f60f298f7bc287e990.tar.gz tor-eb2188168e2eca96692ec5f60f298f7bc287e990.zip |
Stop trying to generate test scripts via autoconf substitution.
Use environment variables instead. This repairs 'make distcheck',
which was running into trouble when it tried to chmod the generated
scripts.
Fixes 17148.
Diffstat (limited to 'src/test/test_ntor.sh')
-rwxr-xr-x | src/test/test_ntor.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/test_ntor.sh b/src/test/test_ntor.sh new file mode 100755 index 0000000000..3d9ef7aaa9 --- /dev/null +++ b/src/test/test_ntor.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# Validate Tor's ntor implementation. + +exitcode=0 + +${PYTHON:-python} "${abs_top_srcdir:-.}/src/test/ntor_ref.py" test-tor || exitcode=1 +${PYTHON:-python} "${abs_top_srcdir:-.}/src/test/ntor_ref.py" self-test || exitcode=1 + +exit ${exitcode} |