about summary refs log tree commit diff
path: root/nixos/tests/castopod.nix
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-11-07 19:57:23 +0300
committerK900 <me@0upti.me>2023-11-07 21:08:23 +0300
commit9843bbbeee2642df74a5d4b4f94bae05cea0e2e0 (patch)
treedbc470c7991386c638485664bd45b5c4487e47c6 /nixos/tests/castopod.nix
parent223c8a6ed4c41e1449fa83d0e1feb45d5dd5910e (diff)
treewide: replace `<command> | systemd-cat` with `systemd-cat <command>`
The former swallows exit codes, the latter doesn't.
Diffstat (limited to 'nixos/tests/castopod.nix')
-rw-r--r--nixos/tests/castopod.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/castopod.nix b/nixos/tests/castopod.nix
index 1d53c3e9a3e61..4435ec617d4e6 100644
--- a/nixos/tests/castopod.nix
+++ b/nixos/tests/castopod.nix
@@ -82,6 +82,6 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
     castopod.succeed("curl -s http://localhost/cp-install | grep 'Create your Super Admin account' > /dev/null")
 
     with subtest("Create superadmin and log in"):
-        castopod.succeed("PYTHONUNBUFFERED=1 test-runner | systemd-cat -t test-runner")
+        castopod.succeed("PYTHONUNBUFFERED=1 systemd-cat -t test-runner test-runner")
   '';
 })