aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_keygen.sh
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2018-07-17 11:24:02 +1000
committerNick Mathewson <nickm@torproject.org>2018-07-17 14:56:18 -0400
commit6dafddd05dcbf65626d7cff2250955d8799e975d (patch)
tree599d938bbc4091dab0406bc72326abdc525f0e4c /src/test/test_keygen.sh
parentcd4795ca3ed7c83d6e3bcc118a5815b571410a9c (diff)
downloadtor-6dafddd05dcbf65626d7cff2250955d8799e975d.tar.gz
tor-6dafddd05dcbf65626d7cff2250955d8799e975d.zip
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.
Diffstat (limited to 'src/test/test_keygen.sh')
-rwxr-xr-xsrc/test/test_keygen.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/test_keygen.sh b/src/test/test_keygen.sh
index 87012cd283..4106425cb3 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