Filter out pipefail to make tests pass on actions

This commit is contained in:
David Dworken 2022-11-13 07:04:34 -08:00
parent 21bc1373ec
commit 31672918a9
No known key found for this signature in database

View File

@ -631,7 +631,7 @@ hishtory disable`)
// Test filtering out a search item that also looks like it could be a search for a flag
entry = testutils.MakeFakeHistoryEntry("foo -echo")
manuallySubmitHistoryEntry(t, userSecret, entry)
out = hishtoryQuery(t, tester, `-echo -install`)
out = hishtoryQuery(t, tester, `-echo -install -pipefail`)
if strings.Contains(out, "echo") {
t.Fatalf("hishtory query contains unexpected result, out=%#v", out)
}