mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
tests: Make unusual logging test conditional on fixed daemon version
This commit is contained in:
parent
f3c722cab2
commit
c783cd22ac
1 changed files with 4 additions and 2 deletions
|
@ -29,5 +29,7 @@ test -d "$outp"
|
|||
|
||||
nix log "$outp"
|
||||
|
||||
# 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:'
|
||||
if isDaemonNewer "2.26"; then
|
||||
# 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