about summary refs log tree commit diff
path: root/nixos/tests/nscd.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-10-10 08:05:47 +0200
committerFlorian Klink <flokli@flokli.de>2022-10-20 13:15:16 +0200
commita3b07e3693462f656e5473e6b1a2a15e20c24c2a (patch)
tree2095516e31095e2a650beb2b8a587305c2bda2d7 /nixos/tests/nscd.nix
parent3203d30d9aa9ce90d9fa40395445e998a0b86ad1 (diff)
nixosTests.nscd: update subtest name and comment
test_host_lookups can be used against different daemons speaking the
nscd protocol.
Diffstat (limited to 'nixos/tests/nscd.nix')
-rw-r--r--nixos/tests/nscd.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/tests/nscd.nix b/nixos/tests/nscd.nix
index 7bb6d90c3d4e0..23f03b6d82626 100644
--- a/nixos/tests/nscd.nix
+++ b/nixos/tests/nscd.nix
@@ -40,9 +40,10 @@ in
                   "systemd-run --pty --property=Type=oneshot --property=DynamicUser=yes --property=User=iamatest whoami"
               )
 
-      # Test resolution of somehost.test with getent', to make sure we go via nscd
+      # Test resolution of somehost.test with getent', to make sure we go via
+      # nscd protocol
       def test_host_lookups():
-          with subtest("host lookups via nscd"):
+          with subtest("host lookups via nscd protocol"):
               # ahosts
               output = machine.succeed("${getent'} ahosts somehost.test")
               assert "192.0.2.1" in output