diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-03-14 15:06:36 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-13 09:22:19 -0400 |
commit | ea5901bf1c6f201f5618aca21ddbb9c41893f147 (patch) | |
tree | c489996c7ba9c25160ea734b2c484e82c653694c /src/test/test_hs_ntor.sh | |
parent | 18ee145cdafb8de265a506439fd66c80f1b8f70a (diff) | |
download | tor-ea5901bf1c6f201f5618aca21ddbb9c41893f147.tar.gz tor-ea5901bf1c6f201f5618aca21ddbb9c41893f147.zip |
prop224: Add Python integration tests for HS ntor.
This test is identical to the ./src/test/test_ntor.sh integration test.
Diffstat (limited to 'src/test/test_hs_ntor.sh')
-rwxr-xr-x | src/test/test_hs_ntor.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/test_hs_ntor.sh b/src/test/test_hs_ntor.sh new file mode 100755 index 0000000000..8a0003d44a --- /dev/null +++ b/src/test/test_hs_ntor.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# Validate Tor's ntor implementation. + +exitcode=0 + +# Run the python integration test sand return the exitcode of the python +# script. The python script might ask the testsuite to skip it if not all +# python dependencies are covered. +"${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/hs_ntor_ref.py" || exitcode=$? + +exit ${exitcode} |