add comment
parent
96f34ea063
commit
ee764c8df4
|
@ -821,6 +821,7 @@ func validateSSHCmd(ctx context.Context, t *testing.T, profile string) {
|
|||
if err != nil {
|
||||
t.Errorf("failed to run an ssh command. args %q : %v", rr.Command(), err)
|
||||
}
|
||||
// trailing whitespace differs between native and external SSH clients, so let's trim it and call it a day
|
||||
if strings.TrimSpace(rr.Stdout.String()) != want {
|
||||
t.Errorf("expected minikube ssh command output to be -%q- but got *%q*. args %q", want, rr.Stdout.String(), rr.Command())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue