| commit | 2e463fb649fcff14d4025ddb91f630a98e7da526 | [log] [tgz] |
|---|---|---|
| author | Earl Lee <earl.lee@sketch.dev> | Thu Apr 17 11:22:22 2025 -0700 |
| committer | Earl Lee <earl.lee@sketch.dev> | Thu Apr 17 11:35:33 2025 -0700 |
| tree | 0e86854d80d2759a913870655f13226c31f9d30c |
Initial commit
diff --git a/dockerimg/update_tests.sh b/dockerimg/update_tests.sh new file mode 100755 index 0000000..5a42f7b --- /dev/null +++ b/dockerimg/update_tests.sh
@@ -0,0 +1,11 @@ +#!/bin/bash + +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +CURRENT_DIR=$(pwd) + +if [ "$SCRIPT_DIR" != "$CURRENT_DIR" ]; then + echo "Error: This script must be run from its own directory: $SCRIPT_DIR" >&2 + exit 1 +fi + +go test -httprecord ".*" -rewritewant