Skip to content

Commit 642eda5

Browse files
Scott8440facebook-github-bot
authored andcommitted
ci: fix flashy tests (#220)
Summary: Pull Request resolved: #220 This test was failing in CI because the expected output was not what was actually being logged. It was just a simple miss and not indicative of any other problem so this just adjusts the expected result. Test Plan: CI Reviewed By: binhuang00 Differential Revision: D46232899 fbshipit-source-id: a1b7bd8059441e5cd6fb593218e04cafd3b502dd
1 parent 6565157 commit 642eda5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/flashy/lib/utils/system_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,10 @@ func TestRunCommand(t *testing.T) {
178178
wantExitCode: 127,
179179
wantErr: errors.Errorf("exit status 127"),
180180
wantStdout: "",
181-
wantStderr: "bash: ech0: command not found\n",
181+
wantStderr: "bash: line 1: ech0: command not found\n",
182182
logContainsSeq: []string{
183183
"Running command 'bash -c ech0 openbmc' with 30s timeout",
184-
"stderr: bash: ech0: command not found",
184+
"stderr: bash: line 1: ech0: command not found",
185185
"Command 'bash -c ech0 openbmc' exited with code 127 after",
186186
},
187187
},

0 commit comments

Comments
 (0)