]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Disable test_rebind.sh on Windows
authorrl1987 <rl1987@sdf.lonestar.org>
Sat, 18 Aug 2018 13:29:46 +0000 (16:29 +0300)
committerNick Mathewson <nickm@torproject.org>
Wed, 12 Sep 2018 13:06:16 +0000 (09:06 -0400)
src/test/test_rebind.sh

index 2e18f9c979f291633d5b11a92c8c146622798bcf..a81f1b569ee14cf4521d2e1644f4f0b103cfab87 100755 (executable)
@@ -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