mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-09 15:58:05 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ unset res
|
|||
|
||||
# `grepQuiet` does not allow newlines in its arguments, because grep quietly
|
||||
# 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'
|
||||
|
||||
# We took the blue pill and woke up in a world where `grep` is moderately safe.
|
||||
|
|
Loading…
Reference in a new issue