Skip to content

Commit

Permalink
fix: script call for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Camila Macedo committed Jul 24, 2020
1 parent a7be4b7 commit eab5938
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup_envtest_bins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ARCH=$(uname -m | sed 's/x86_64/amd64/')
ETCD_EXT="tar.gz"
TESTBIN_DIR=testbin

function setup_testenv_bin() {
setup_testenv_bin() {
# Do nothing if the $TESTBIN_DIR directory exist already.
if [ ! -d $TESTBIN_DIR ]; then
mkdir -p $TESTBIN_DIR
Expand Down
3 changes: 3 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,7 @@ GO111MODULE=on test_project project-v3 3-alpha
GO111MODULE=on test_project project-v3-multigroup 3-alpha
GO111MODULE=on test_project project-v3-addon 3-alpha

# added here just to ensure that the script works well in all envs
./scripts/setup_envtest_bins.sh v1.18.2 v3.4.3

exit $rc

0 comments on commit eab5938

Please sign in to comment.