]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
SKIP test_keygen.sh on Windows until the underlying issue is resolved
authorteor <teor2345@gmail.com>
Tue, 17 Jul 2018 01:24:02 +0000 (11:24 +1000)
committerNick Mathewson <nickm@torproject.org>
Tue, 17 Jul 2018 18:56:18 +0000 (14:56 -0400)
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 [new file with mode: 0644]
src/test/test_keygen.sh

diff --git a/changes/bug26830 b/changes/bug26830
new file mode 100644 (file)
index 0000000..c002f19
--- /dev/null
@@ -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.
index 87012cd2830f4c5f0c48c67d58e8735712d8cf79..4106425cb30eb38406c6b53871a45c578bef5188 100755 (executable)
@@ -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