mirror of https://github.com/ctz/rustls
24 lines
437 B
Bash
Executable File
24 lines
437 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
mkdir -p bogo
|
|
pushd bogo
|
|
|
|
git init --initial-branch main
|
|
git config core.sparsecheckout 1
|
|
cat << EOF > .git/info/sparse-checkout
|
|
go.mod
|
|
go.sum
|
|
ssl/test/runner
|
|
util/testresult
|
|
EOF
|
|
|
|
# fix on a tested point of rustls-testing branch
|
|
COMMIT=3fea50a7cb55bb72e4a69d34015f1a6971e7934c
|
|
git fetch --depth=1 https://github.com/rustls/boringssl.git $COMMIT
|
|
git checkout $COMMIT
|
|
(cd ssl/test/runner && go test -c)
|
|
|
|
popd
|