Skip to content

Commit

Permalink
try #3 with only failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkermichael committed Oct 17, 2022
1 parent 61060ee commit 740827a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion acceptance/framework/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ func NewCLI() (*CLI, error) {
if err != nil {
return nil, err
}
fmt.Println("Go build: " + string(b))

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

cmd = exec.Command("mv", "./consul-k8s ${GOPATH}/bin/")
Expand All @@ -32,7 +40,7 @@ func NewCLI() (*CLI, error) {
if err != nil {
return nil, err
}
fmt.Println(string(b))
fmt.Println("move: " + string(b))

return &CLI{true}, nil
}
Expand Down

0 comments on commit 740827a

Please sign in to comment.