#!/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 | |
pip install --prefix trytls/ trytls | |
fi | |
export PYTHONPATH=trytls/lib/python2.7/site-packages/ | |
./trytls/bin/trytls https ../target/${RELEASE:-debug}/examples/trytls_shim |