[tor-commits] [tor/release-0.2.9] SKIP test_keygen.sh on Windows until the underlying issue is resolved

nickm at torproject.org nickm at torproject.org
Tue Jul 17 18:56:58 UTC 2018


commit 6dafddd05dcbf65626d7cff2250955d8799e975d
Author: teor <teor2345 at gmail.com>
Date:   Tue Jul 17 11:24:02 2018 +1000

    SKIP test_keygen.sh on Windows until the underlying issue is resolved
    
    Skip an unreliable key generation test on Windows, until the underlying
    issue in bug 26076 is resolved.
    
    Fixes bug 26830; bugfix on 0.2.7.3-rc.
---
 changes/bug26830        | 3 +++
 src/test/test_keygen.sh | 8 ++++++++
 2 files changed, 11 insertions(+)

diff --git a/changes/bug26830 b/changes/bug26830
new file mode 100644
index 000000000..c002f1953
--- /dev/null
+++ b/changes/bug26830
@@ -0,0 +1,3 @@
+  o Minor bugfixes (continuous integration):
+    - Skip an unreliable key generation test on Windows, until the underlying
+      issue in bug 26076 is resolved. Fixes bug 26830; bugfix on 0.2.7.3-rc.
diff --git a/src/test/test_keygen.sh b/src/test/test_keygen.sh
index 87012cd28..4106425cb 100755
--- a/src/test/test_keygen.sh
+++ b/src/test/test_keygen.sh
@@ -13,6 +13,14 @@ if [ $# -eq 0 ] || [ ! -f ${1} ] || [ ! -x ${1} ]; then
   fi
 fi
 
+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 unreliable on Windows. See trac #26076. Skipping." >&2
+  exit 77
+fi
+
 if [ $# -ge 1 ]; then
   TOR_BINARY="${1}"
   shift





More information about the tor-commits mailing list