-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ff55b0
commit 4edf6eb
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, ... }: | ||
|
||
|
@@ -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 | ||
|