Skip to content

Commit

Permalink
adjust exit status codes
Browse files Browse the repository at this point in the history
  • Loading branch information
ianic committed Dec 3, 2021
1 parent bc624b9 commit 687241b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func setup() int {
clitest.New(t).
Run("mantil", "aws", "install", defaultNodeName, "--aws-env").Success()
if len(t.errors) > 0 {
return 3
return 3 // m.Run uses code 1,2 so we use 3, 4
}

cleanupWorkspace = true
Expand All @@ -85,7 +85,7 @@ func teardown() int {
c.Run("mantil", "aws", "uninstall", n.Name, "--aws-env", "--force").Success()
}
if len(t.errors) > 0 {
return 3
return 4
}
}
return 0
Expand Down

0 comments on commit 687241b

Please sign in to comment.