diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-08-14 14:28:02 +0200 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-08-30 19:35:02 -0400 |
commit | be3362e74782e47b9546de94be97f53540ddfe9e (patch) | |
tree | 65cdfefff719d31a4206e75c84f62892d2b2fcf9 /tests/nixos | |
parent | 3384f70a3d5ee7bd1d1bf5fa48809c4eac5c8041 (diff) |
Fix nix-copy test
Diffstat (limited to 'tests/nixos')
-rw-r--r-- | tests/nixos/nix-copy.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/nixos/nix-copy.nix b/tests/nixos/nix-copy.nix index ef053de03..2981cc2b8 100644 --- a/tests/nixos/nix-copy.nix +++ b/tests/nixos/nix-copy.nix @@ -1,4 +1,6 @@ # Test that ‘nix copy’ works over ssh. +# Run interactively with: +# rm key key.pub; nix run .#hydraJobs.tests.nix-copy.driverInteractive { lib, config, nixpkgs, hostPkgs, ... }: @@ -55,7 +57,9 @@ in { server.wait_for_unit("sshd") client.wait_for_unit("network.target") client.wait_for_unit("getty@tty1.service") - client.wait_for_text("]#") + # Either the prompt: ]# + # or an OCR misreading of it: 1# + client.wait_for_text("[]1]#") # Copy the closure of package A from the client to the server using password authentication, # and check that all prompts are visible |