From 93083489ba376f0a7d57a5467d11f6251bdb37c6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 1 Nov 2024 04:28:46 +0100 Subject: [PATCH] nixos/tests/kanidm: update for 1.4.0 --- nixos/tests/kanidm.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/kanidm.nix b/nixos/tests/kanidm.nix index 5cb298fe9243..abbc8dc8a476 100644 --- a/nixos/tests/kanidm.nix +++ b/nixos/tests/kanidm.nix @@ -97,7 +97,7 @@ import ./make-test-python.nix ({ pkgs, ... }: with subtest("Test unixd connection"): client.wait_for_unit("kanidm-unixd.service") client.wait_for_file("/run/kanidm-unixd/sock") - client.wait_until_succeeds("kanidm-unix status | grep working!") + client.wait_until_succeeds("kanidm-unix status | grep online") with subtest("Test user creation"): client.wait_for_unit("getty@tty1.service") @@ -107,7 +107,7 @@ import ./make-test-python.nix ({ pkgs, ... }: client.send_chars("kanidm person posix set-password testuser\n") client.wait_until_tty_matches("1", "Enter new") client.send_chars("${testCredentials.password}\n") - client.wait_until_tty_matches("1", "Retype") + client.wait_until_tty_matches("1", "Reenter") client.send_chars("${testCredentials.password}\n") output = client.succeed("getent passwd testuser") assert "TestUser" in output