Unverified Commit c1cfba58 authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #260050 from 6t8k/nixos-test-openssh-wait-for-sshd

parents 9dfb962c ebec07fd
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -103,7 +103,12 @@ in {
  testScript = ''
    start_all()

    server.wait_for_unit("sshd")
    server.wait_for_unit("sshd", timeout=30)
    server_localhost_only.wait_for_unit("sshd", timeout=30)
    server_match_rule.wait_for_unit("sshd", timeout=30)

    server_lazy.wait_for_unit("sshd.socket", timeout=30)
    server_localhost_only_lazy.wait_for_unit("sshd.socket", timeout=30)

    with subtest("manual-authkey"):
        client.succeed("mkdir -m 700 /root/.ssh")