lol

nixosTests.systemd: modify test to use new error output from systemd 257

+1 -1
+1 -1
nixos/tests/systemd.nix
··· 128 128 # it's not possible because we're not in a tty when grepping 129 129 # (i.e. hacky way to ensure that the error from above doesn't appear here). 130 130 _, out = machine.execute("systemctl --user edit testservice2.service 2>&1") 131 - assert out.rstrip("\n") == "Cannot edit units if not on a tty." 131 + assert out.rstrip("\n") == "Cannot edit units interactively if not on a tty." 132 132 133 133 # Regression test for https://github.com/NixOS/nixpkgs/issues/105049 134 134 with subtest("systemd reads timezone database in /etc/zoneinfo"):