Skip to content

Commit

Permalink
Fix nix-copy test
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth authored and Ericson2314 committed Aug 22, 2023
1 parent 9ff55b0 commit 4edf6eb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/nixos/nix-copy.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# 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, ... }:

Expand Down Expand Up @@ -55,7 +58,9 @@ in {
server.wait_for_unit("sshd")
client.wait_for_unit("network.target")
client.wait_for_unit("[email protected]")
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
Expand Down

0 comments on commit 4edf6eb

Please sign in to comment.