diff options
author | Minijackson <minijackson@riseup.net> | 2022-09-01 14:54:10 +0200 |
---|---|---|
committer | Raito Bezarius <masterancpp@gmail.com> | 2023-12-09 01:54:44 +0100 |
commit | 302c329ab562e15ef57fd9daf5a304b9dee2f7da (patch) | |
tree | 04bf6a1bf90191ba2993d28266929eadb5256b89 /nixos/tests/systemd-journal.nix | |
parent | b484343cbc7f5726bdc0d03f340cd9d36476e927 (diff) |
nixos/tests/journal-gateway: init
move previous gateway test from systemd-journal -> systemd-journal-gateway
Diffstat (limited to 'nixos/tests/systemd-journal.nix')
-rw-r--r-- | nixos/tests/systemd-journal.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/nixos/tests/systemd-journal.nix b/nixos/tests/systemd-journal.nix index d2063a3b9a44e..ad60c0f547a41 100644 --- a/nixos/tests/systemd-journal.nix +++ b/nixos/tests/systemd-journal.nix @@ -6,17 +6,11 @@ import ./make-test-python.nix ({ pkgs, ... }: maintainers = [ lewo ]; }; - nodes.machine = { pkgs, lib, ... }: { - services.journald.enableHttpGateway = true; - }; + nodes.machine = { }; testScript = '' machine.wait_for_unit("multi-user.target") machine.succeed("journalctl --grep=systemd") - - machine.succeed( - "${pkgs.curl}/bin/curl -s localhost:19531/machine | ${pkgs.jq}/bin/jq -e '.hostname == \"machine\"'" - ) ''; }) |