chore: add strict mode to scripts/test_lib.sh

REF: #15514

Signed-off-by: Wei Fu <fuweid89@gmail.com>
storage-doc
Wei Fu 2023-04-09 12:48:25 +08:00
parent 8cd5969248
commit dc2cf29598
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_MODULE="go.etcd.io/etcd"
if [[ "$(go list)" != "${ROOT_MODULE}/v3" ]]; then