aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/tests/pppd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/pppd.nix')
-rw-r--r--nixpkgs/nixos/tests/pppd.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/nixpkgs/nixos/tests/pppd.nix b/nixpkgs/nixos/tests/pppd.nix
index 91f81185909..bda0aa75bb5 100644
--- a/nixpkgs/nixos/tests/pppd.nix
+++ b/nixpkgs/nixos/tests/pppd.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix (
+import ./make-test-python.nix (
let
chap-secrets = {
text = ''"flynn" * "reindeerflotilla" *'';
@@ -53,10 +53,10 @@ import ./make-test.nix (
environment.etc."ppp/chap-secrets" = chap-secrets;
};
};
-
+
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")
'';
- })
+ })