]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Actually, just disable test_rebind.sh on Appveyor
authorrl1987 <rl1987@sdf.lonestar.org>
Sun, 19 Aug 2018 18:33:18 +0000 (21:33 +0300)
committerNick Mathewson <nickm@torproject.org>
Wed, 12 Sep 2018 13:06:16 +0000 (09:06 -0400)
src/test/test_rebind.sh

index a81f1b569ee14cf4521d2e1644f4f0b103cfab87..76eb9f2e4d460c278a904027f85e847814fe75b0 100755 (executable)
@@ -2,12 +2,14 @@
 
 set -x
 
-UNAME_OS=`uname -s | cut -d_ -f1`
+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
+  if test "$APPVEYOR" = 'True'; then
+    echo "This test is disabled on Windows CI, as it requires firewall examptions. Skipping." >&2
+    exit 77
+  fi
 fi
 
 exitcode=0