Disable test_rebind.sh on Windows

This commit is contained in:
rl1987 2018-08-18 16:29:46 +03:00 committed by Nick Mathewson
parent 5a11670fca
commit d30e47fd4e

View File

@ -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