]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
SKIP test_key_expiration.sh on Windows until the underlying issue is resolved
authorteor <teor2345@gmail.com>
Wed, 18 Jul 2018 02:37:12 +0000 (12:37 +1000)
committerteor <teor2345@gmail.com>
Wed, 18 Jul 2018 02:37:12 +0000 (12:37 +1000)
Skip an unreliable key expiration test on Windows, until the underlying
issue in bug 26076 is resolved.

Fixes bug 26853; bugfix on 0.3.2.1-alpha.

changes/bug26853 [new file with mode: 0644]
src/test/test_key_expiration.sh

diff --git a/changes/bug26853 b/changes/bug26853
new file mode 100644 (file)
index 0000000..6ee4778
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes (continuous integration):
+    - Skip an unreliable key expiration test on Windows, until the underlying
+      issue in bug 26076 is resolved. Fixes bug 26853; bugfix on 0.3.2.1-alpha.
index 5511dbf18cdfa04063ecf3f46ea3ec09a36c48ee..cf6608634d82896174a7616c0fce6d6134aa3c63 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