Skip to content

Commit

Permalink
Added case test for M1
Browse files Browse the repository at this point in the history
  • Loading branch information
Elia Bracci committed Dec 20, 2022
1 parent f070f93 commit 90ac973
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func Install(tgversion string, usrBinPath string, mirrorURL string) string {
/* rename unzipped file to terragrunt version name - terraform_x.x.x */
RenameFile(downloadedFile, installFileVersionPath)

err := os.Chmod(installFileVersionPath, 0755)
err = os.Chmod(installFileVersionPath, 0755)
if err != nil {
log.Println(err)
}
Expand Down
2 changes: 2 additions & 0 deletions test-tgswitch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,5 @@ runtestdir "tgswitchrc" "test_tgswitchrc" "v0.33.0"
runtestdir ".toml" "test_tgswitchtoml" "v0.34.0"
runtestenv "env variable" "0.37.1" "v0.37.1"
runtestarg "passing argument" "0.36.1" "v0.36.1"
# M1 darwin arm64 test
runtestarg "passing argument" "0.28.0" "v0.28.0"

0 comments on commit 90ac973

Please sign in to comment.