commit d30e47fd4e1ff01171319ef9b955a7495510a768 Author: rl1987 rl1987@sdf.lonestar.org Date: Sat Aug 18 16:29:46 2018 +0300
Disable test_rebind.sh on Windows --- src/test/test_rebind.sh | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/src/test/test_rebind.sh b/src/test/test_rebind.sh index 2e18f9c97..a81f1b569 100755 --- a/src/test/test_rebind.sh +++ b/src/test/test_rebind.sh @@ -2,6 +2,14 @@
set -x
+UNAME_OS=`uname -s | cut -d_ -f1` +if test "$UNAME_OS" = 'CYGWIN' || \ + test "$UNAME_OS" = 'MSYS' || \ + test "$UNAME_OS" = 'MINGW'; then + echo "This test is disabled on Windows CI, as it requires firewall examptions. Skipping." >&2 + exit 77 +fi + exitcode=0
"${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/test_rebind.py" "${TESTING_TOR_BINARY}" || exitcode=1
tor-commits@lists.torproject.org