From 2531fcf4f577178f7c813d9be528d989aefed38b Mon Sep 17 00:00:00 2001 From: Justin Smith Date: Fri, 13 Dec 2024 11:46:06 -0500 Subject: [PATCH] Fix s2n-quic integ test --- aws-lc-rs/scripts/run-s2n-quic-integration.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/aws-lc-rs/scripts/run-s2n-quic-integration.sh b/aws-lc-rs/scripts/run-s2n-quic-integration.sh index 537c11af159..feb0bed9e4e 100755 --- a/aws-lc-rs/scripts/run-s2n-quic-integration.sh +++ b/aws-lc-rs/scripts/run-s2n-quic-integration.sh @@ -2,11 +2,13 @@ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 OR ISC -QUIC_AWS_LC_RS_STRING="^aws-lc-rs = { .* }" +S2N_QUIC_TEMP=$(mktemp -d)/s2n-quic + +QUIC_AWS_LC_RS_STRING="^aws-lc-rs = .*" QUIC_PATH_STRING="aws-lc-rs = { path = \"${PWD}\" }" -git clone https://github.com/aws/s2n-quic.git -cd s2n-quic +git clone https://github.com/aws/s2n-quic.git $S2N_QUIC_TEMP +cd $S2N_QUIC_TEMP # replace instances of ring with our crate if [[ "$(uname)" == "Darwin" ]]; then