2016-10-08 18:27:35 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This script fetches, builds, and runs the TryTLS
|
|
|
|
# TLS test tool against rustls. The rustls-TryTLS test stub is
|
|
|
|
# by Joachim Viide -- https://github.com/HowNetWorks/trytls-rustls-stub
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
|
|
|
if [ ! -e trytls/ ] ; then
|
2016-10-21 21:56:50 +00:00
|
|
|
pip install --prefix trytls/ trytls
|
2016-10-08 18:27:35 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
export PYTHONPATH=trytls/lib/python2.7/site-packages/
|
2017-06-04 16:18:48 +00:00
|
|
|
./trytls/bin/trytls https ../target/${RELEASE:-debug}/examples/trytls_shim
|