1
0
Fork 0
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:
Robert Hensing 2024-12-09 17:29:45 +01:00
parent 29d91db99c
commit 180031fb5a

View file

@ -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