[tor-commits] [tor/master] Actually, just disable test_rebind.sh on Appveyor

nickm at torproject.org nickm at torproject.org
Wed Sep 12 13:06:41 UTC 2018


commit 7b27d98eaea3bbbcf367fdf87b3dabbc28ca1f9c
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date:   Sun Aug 19 21:33:18 2018 +0300

    Actually, just disable test_rebind.sh on Appveyor
---
 src/test/test_rebind.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/test/test_rebind.sh b/src/test/test_rebind.sh
index a81f1b569..76eb9f2e4 100755
--- a/src/test/test_rebind.sh
+++ b/src/test/test_rebind.sh
@@ -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





More information about the tor-commits mailing list