From 8b535df21ca740687fe6cd1eaf2c1381ec61a7ec Mon Sep 17 00:00:00 2001 From: Wei Fu Date: Sun, 9 Apr 2023 12:48:25 +0800 Subject: [PATCH] chore: add strict mode to scripts/test_lib.sh REF: #15514 Signed-off-by: Wei Fu --- scripts/test_lib.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/test_lib.sh b/scripts/test_lib.sh index a15f46c17dc8..106a271cdf74 100644 --- a/scripts/test_lib.sh +++ b/scripts/test_lib.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -euo pipefail + ROOT_MODULE="go.etcd.io/etcd" if [[ "$(go list)" != "${ROOT_MODULE}/v3" ]]; then