e2e: change test strings to avoid error highlighting

The words "error" and "fail" are magic in test output, and are
highlighted in the build logs.  Change some test strings to avoid
hitting the highlighting in normal operation.
This commit is contained in:
Justin Santa Barbara 2018-10-03 09:37:26 -07:00
parent a372a9fcd6
commit 153f91693b

View File

@ -59,7 +59,7 @@ var _ = SIGDescribe("SSH", func() {
// Keep this test first - this variant runs on all nodes.
{`echo "Hello from $(whoami)@$(hostname)"`, false, "", "", 0, nil},
{`echo "foo" | grep "bar"`, true, "", "", 1, nil},
{`echo "Out" && echo "Error" >&2 && exit 7`, true, "Out", "Error", 7, nil},
{`echo "stdout" && echo "stderr" >&2 && exit 7`, true, "stdout", "stderr", 7, nil},
}
for i, testCase := range testCases {