diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-11-08 20:47:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-08 20:47:05 +0000 |
commit | 0c6853c7272f6050453530958afca5f9f0d711e8 (patch) | |
tree | c7269103e70b1834a27c5e67f1fd836f999144d6 /nixos | |
parent | b859c85adad113e2a45e8459087f142360f6eccb (diff) | |
parent | 24b540d3ce52ec0a26b9077622463604bf0b539a (diff) | |
download | nixpkgs-0c6853c7272f6050453530958afca5f9f0d711e8.tar nixpkgs-0c6853c7272f6050453530958afca5f9f0d711e8.tar.gz nixpkgs-0c6853c7272f6050453530958afca5f9f0d711e8.tar.bz2 nixpkgs-0c6853c7272f6050453530958afca5f9f0d711e8.tar.lz nixpkgs-0c6853c7272f6050453530958afca5f9f0d711e8.tar.xz nixpkgs-0c6853c7272f6050453530958afca5f9f0d711e8.tar.zst nixpkgs-0c6853c7272f6050453530958afca5f9f0d711e8.zip |
Merge pull request #73056 from flokli/nixos-test-port-pppd
nixos/pppd: port test to python
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/pppd.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/tests/pppd.nix b/nixos/tests/pppd.nix index 91f81185909..bda0aa75bb5 100644 --- a/nixos/tests/pppd.nix +++ b/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") ''; - }) + }) |