mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 06:31:20 +00:00
nixos/pppd: port test to python
This commit is contained in:
parent
a2429cffa3
commit
24b540d3ce
@ -1,4 +1,4 @@
|
||||
import ./make-test.nix (
|
||||
import ./make-test-python.nix (
|
||||
let
|
||||
chap-secrets = {
|
||||
text = ''"flynn" * "reindeerflotilla" *'';
|
||||
@ -55,8 +55,8 @@ import ./make-test.nix (
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
startAll;
|
||||
$client->waitUntilSucceeds("ping -c1 -W1 192.0.2.1");
|
||||
$server->waitUntilSucceeds("ping -c1 -W1 192.0.2.2");
|
||||
start_all()
|
||||
client.wait_until_succeeds("ping -c1 -W1 192.0.2.1")
|
||||
server.wait_until_succeeds("ping -c1 -W1 192.0.2.2")
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user