Mercurial > hg
comparison tests/test-https.t @ 22046:7a9cbb315d84
tests: replace exit 80 with #require
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 06 Aug 2014 11:43:59 -0500 |
parents | 408f2202bd80 |
children | d7f7f1860f00 |
comparison
equal
deleted
inserted
replaced
22045:769198c6a62d | 22046:7a9cbb315d84 |
---|---|
1 #require serve ssl | |
2 | |
1 Proper https client requires the built-in ssl from Python 2.6. | 3 Proper https client requires the built-in ssl from Python 2.6. |
2 | |
3 $ "$TESTDIR/hghave" serve ssl || exit 80 | |
4 | 4 |
5 Certificates created with: | 5 Certificates created with: |
6 printf '.\n.\n.\n.\n.\nlocalhost\nhg@localhost\n' | \ | 6 printf '.\n.\n.\n.\n.\nlocalhost\nhg@localhost\n' | \ |
7 openssl req -newkey rsa:512 -keyout priv.pem -nodes -x509 -days 9000 -out pub.pem | 7 openssl req -newkey rsa:512 -keyout priv.pem -nodes -x509 -days 9000 -out pub.pem |
8 Can be dumped with: | 8 Can be dumped with: |