2016-08-21 11:39:39 +00:00
|
|
|
#!/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
|
2016-08-21 11:39:39 +00:00
|
|
|
cargo test --no-run
|
|
|
|
|
|
|
|
if [ ! -e bogo/ ] ; then
|
|
|
|
./fetch-and-build
|
|
|
|
fi
|
|
|
|
|
2016-09-23 17:21:39 +00:00
|
|
|
cd bogo && ./bogo.test -shim-path ../../admin/covbin/bogo_shim \
|
2016-08-21 11:39:39 +00:00
|
|
|
-shim-config ../config.json \
|
2016-08-22 22:35:22 +00:00
|
|
|
-test.parallel 1 -num-workers 1 \
|
2016-08-24 19:14:28 +00:00
|
|
|
-pipe -allow-unimplemented
|