Skip to content

Commit

Permalink
try #4 with only failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkermichael committed Oct 18, 2022
1 parent 3e855b2 commit 7d0f60d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions acceptance/framework/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,26 @@ func NewCLI() (*CLI, error) {
cmd := exec.Command("go", "build", "-o ./consul-k8s")
cmd.Dir = "../../../cli"
b, err := cmd.Output()
fmt.Println("Go build: " + string(b))
if err != nil {
return nil, err
}
fmt.Println("Go build: " + string(b))

cmd = exec.Command("echo", "$GOPATH")
cmd.Dir = "../../../cli"
b, err = cmd.Output()
fmt.Println(string(b))
if err != nil {
return nil, err
}
fmt.Println(string(b))

cmd = exec.Command("mv", "./consul-k8s ${GOPATH}/bin/")
cmd.Dir = "../../../cli"
b, err = cmd.Output()
fmt.Println("move: " + string(b))
if err != nil {
return nil, err
}
fmt.Println("move: " + string(b))

return &CLI{true}, nil
}
Expand Down

0 comments on commit 7d0f60d

Please sign in to comment.