We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d43550e commit 4e82ea9Copy full SHA for 4e82ea9
1 file changed
checks/multiuser/default.nix
@@ -36,10 +36,13 @@ pkgs.testers.runNixOSTest {
36
for user in ("alice", "bob", "root"):
37
code, output = controller.execute(
38
fr"""
39
+ set -x
40
+ sudo -nu {user} -- test -f "$HOME/.ssh/id_rsa" && echo "key exists" || echo "NO KEY"
41
sudo -nu {user} -- ${lib.getExe nodes.target01.lollypops.deployment.ssh.login} whoami
42
""",
- timeout=10,
43
+ timeout=60,
44
)
45
+ print(f"user={user} code={code} output={output!r}")
46
t.assertEqual(output.strip(), user)
47
'';
48
}
0 commit comments