rustls/bogo/runme

19 lines
440 B
Plaintext
Raw Normal View History

#!/bin/sh
# This script fetches, builds, and runs the BoringSSL
# TLS test tool ('BoGo') against rustls.
set -xe
2016-08-23 21:10:00 +00:00
sed -i -e 's/\(DANGEROUS_DISABLE_VERIFY: bool = \)false/\1true/g' ../src/verify.rs
cargo test --no-run
if [ ! -e bogo/ ] ; then
./fetch-and-build
fi
cd bogo && ./bogo.test -shim-path ../../admin/covbin/bogo_shim \
-shim-config ../config.json \
2016-08-22 22:35:22 +00:00
-test.parallel 1 -num-workers 1 \
-pipe -allow-unimplemented