mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
Update tests/functional/test-infra.sh
Co-authored-by: John Ericson <John.Ericson@Obsidian.Systems>
This commit is contained in:
parent
4457cebe05
commit
baa28159d3
@ -111,7 +111,7 @@ unset res
|
|||||||
|
|
||||||
# `grepQuiet` does not allow newlines in its arguments, because grep quietly
|
# `grepQuiet` does not allow newlines in its arguments, because grep quietly
|
||||||
# treats them as multiple queries.
|
# treats them as multiple queries.
|
||||||
( echo foo; echo bar; ) | expectStderr -101 grepQuiet $'foo\nbar' \
|
{ echo foo; echo bar; } | expectStderr -101 grepQuiet $'foo\nbar' \
|
||||||
| grepQuiet -E 'test-infra\.sh:[0-9]+: in call to grepQuiet: newline not allowed in arguments; grep would try each line individually as if connected by an OR operator'
|
| grepQuiet -E 'test-infra\.sh:[0-9]+: in call to grepQuiet: newline not allowed in arguments; grep would try each line individually as if connected by an OR operator'
|
||||||
|
|
||||||
# We took the blue pill and woke up in a world where `grep` is moderately safe.
|
# We took the blue pill and woke up in a world where `grep` is moderately safe.
|
||||||
|
Loading…
Reference in New Issue
Block a user