Skip to content

Commit

Permalink
*: tools in scripts use fixed version to avoid incompatible updates (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
purelind authored Apr 17, 2024
1 parent 7c4f4fa commit 3b6a9db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dumpling/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ chmod a+x bin/minio
wget https://dl.minio.io/client/mc/release/linux-amd64/mc -O bin/mc
chmod a+x bin/mc

go get github.com/ma6174/snappy
go install github.com/ma6174/snappy
go get github.com/ma6174/snappy@15869b0666f67839ecf86cd29ef1452ddcd79cb8
go install github.com/ma6174/snappy@15869b0666f67839ecf86cd29ef1452ddcd79cb8

wget https://github.com/facebook/zstd/releases/download/v1.5.2/zstd-1.5.2.tar.gz
tar xvfz zstd-1.5.2.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions dumpling/tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ function run_case_by_fullpath() {
# run in verbose mode?
echo "Verbose mode = $VERBOSE"
if [ "$VERBOSE" = "true" ]; then
PATH="tests/_utils:$PATH" \
PATH="dumpling/tests/_utils:$PATH" \
PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' \
bash -x "$script"
else
PATH="tests/_utils:$PATH" \
PATH="dumpling/tests/_utils:$PATH" \
bash +x "$script"
fi
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> TEST: $script Passed Cleaning up test output dir: $DUMPLING_OUTPUT_DIR"
Expand Down

0 comments on commit 3b6a9db

Please sign in to comment.