nixos/tests/systemd-journal: ensure that --grep works
Previously, after the version bump to v247, we broke journalctl --grep as libpcre2 was lazily loaded during runtime using dlopen(3). This ensures that we have a test case that alerts us when it fails again.
This commit is contained in:
parent
494ed4d6ee
commit
37539e7768
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
|||
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\"'"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue