mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
test: Move unusual-logging to run only in logging test case
(cherry picked from commit 1421420e86
)
This commit is contained in:
parent
c709ca6e36
commit
a867747c05
3 changed files with 19 additions and 15 deletions
16
tests/functional/logging/unusual-logging.nix
Normal file
16
tests/functional/logging/unusual-logging.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
let
|
||||
inherit (import ../config.nix) mkDerivation;
|
||||
in
|
||||
mkDerivation {
|
||||
name = "unusual-logging";
|
||||
buildCommand = ''
|
||||
{
|
||||
echo "@nix 1"
|
||||
echo "@nix {}"
|
||||
echo '@nix {"action": null}'
|
||||
echo '@nix {"action": 123}'
|
||||
echo '@nix ]['
|
||||
} >&$NIX_LOG_FD
|
||||
touch $out
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue