Skip to content

Commit d59d63a

Browse files
authored
ci: update h3spec to 0.11 (aws#2416)
1 parent 05ac54c commit d59d63a

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

Diff for: scripts/h3spec

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
#/usr/bin/env bash
22

3-
VERSION=${1:-"v0.1.8"}
3+
VERSION=${1:-"v0.1.11"}
44
PORT=${2:4433}
55

66
BIN="target/tools/h3spec-${VERSION}"
77

8+
TARGET="h3spec-linux-x86_64"
9+
10+
# check if we're on macos
11+
if [ "$(uname)" == "Darwin" ]; then
12+
TARGET="h3spec-mac-arm64"
13+
fi
14+
815
if [ ! -f $BIN ]; then
916
mkdir -p target/tools
1017
curl -L -o $BIN \
11-
https://github.com/kazu-yamamoto/h3spec/releases/download/$VERSION/h3spec-linux-x86_64
18+
https://github.com/kazu-yamamoto/h3spec/releases/download/$VERSION/$TARGET
1219
chmod +x $BIN
1320
fi
1421

@@ -17,7 +24,8 @@ fi
1724
# https://github.com/aws/s2n-quic/issues/858
1825
# https://github.com/aws/s2n-quic/issues/859
1926

20-
ARGS=""
27+
# we just use test certs for `s2n-quic-qns` so skip cert validation
28+
ARGS="--no-validate"
2129

2230
# h3spec appends the KeyUpdate message to the end of the valid Handshake data.
2331
# s2n-quic considers the handshake "done" before it receives the bad message,

0 commit comments

Comments
 (0)