mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
tests: Make unusual logging test conditional on fixed daemon version
(cherry picked from commit c783cd22ac
)
This commit is contained in:
parent
29d91db99c
commit
180031fb5a
1 changed files with 4 additions and 2 deletions
|
@ -29,5 +29,7 @@ test -d "$outp"
|
||||||
|
|
||||||
nix log "$outp"
|
nix log "$outp"
|
||||||
|
|
||||||
# Build works despite ill-formed structured build log entries.
|
if isDaemonNewer "2.26"; then
|
||||||
expectStderr 0 nix build -f ./logging/unusual-logging.nix --no-link | grepQuiet 'warning: Unable to handle a JSON message from the derivation builder:'
|
# Build works despite ill-formed structured build log entries.
|
||||||
|
expectStderr 0 nix build -f ./logging/unusual-logging.nix --no-link | grepQuiet 'warning: Unable to handle a JSON message from the derivation builder:'
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue