aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_rebind.sh
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2018-05-17 16:01:52 +0200
committerNick Mathewson <nickm@torproject.org>2018-09-12 09:06:16 -0400
commit762c27b907192d79fbef77caee8a8b457dc7ca4a (patch)
tree576c02d07f20ba6f1c3e5646c0ef1b75c8a1f572 /src/test/test_rebind.sh
parentfbd50f599408ae5d5e7bd7d8d63b23b9039524c7 (diff)
downloadtor-762c27b907192d79fbef77caee8a8b457dc7ca4a.tar.gz
tor-762c27b907192d79fbef77caee8a8b457dc7ca4a.zip
Integration test for socket rebinding
squash! Integration test for socket rebinding
Diffstat (limited to 'src/test/test_rebind.sh')
-rwxr-xr-xsrc/test/test_rebind.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/test_rebind.sh b/src/test/test_rebind.sh
new file mode 100755
index 0000000000..47f38afc45
--- /dev/null
+++ b/src/test/test_rebind.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+exitcode=0
+
+"${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/test_rebind.py" "${TESTING_TOR_BINARY}" || exitcode=1
+
+exit ${exitcode}