about summary refs log tree commit diff
path: root/nixos/tests/systemd-initrd-simple.nix
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2022-07-22 01:32:22 -0400
committerWill Fancher <elvishjerricco@gmail.com>2023-04-12 13:55:50 -0400
commite70b42bf612e65693c95fab37ff0de725858ed8e (patch)
tree68eecf84742011d387190c95c2c2f018423b039f /nixos/tests/systemd-initrd-simple.nix
parent762b69f2ff4a7e843a7e9690a0bed741f229229d (diff)
systemd-initrd: Add users and groups with static IDs.
Diffstat (limited to 'nixos/tests/systemd-initrd-simple.nix')
-rw-r--r--nixos/tests/systemd-initrd-simple.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/systemd-initrd-simple.nix b/nixos/tests/systemd-initrd-simple.nix
index f7f4863d17e35..a6a22e9d48e06 100644
--- a/nixos/tests/systemd-initrd-simple.nix
+++ b/nixos/tests/systemd-initrd-simple.nix
@@ -27,6 +27,8 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
         machine.succeed("[ -e /dev/pts/ptmx ]") # /dev/pts
         machine.succeed("[ -e /run/keys ]") # /run/keys
 
+    with subtest("groups work"):
+        machine.fail("journalctl -b 0 | grep 'systemd-udevd.*Unknown group.*ignoring'")
 
     with subtest("growfs works"):
         oldAvail = machine.succeed("df --output=avail / | sed 1d")