diff options
author | Florian Klink <flokli@flokli.de> | 2019-11-08 17:08:17 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-11-08 17:11:11 +0100 |
commit | 24b540d3ce52ec0a26b9077622463604bf0b539a (patch) | |
tree | 0a845af45b5bfad2ee99e874b6858677454ee42f /nixos/tests | |
parent | a2429cffa3451f3d5c8e80a295663fef0a96bd9b (diff) | |
download | nixlib-24b540d3ce52ec0a26b9077622463604bf0b539a.tar nixlib-24b540d3ce52ec0a26b9077622463604bf0b539a.tar.gz nixlib-24b540d3ce52ec0a26b9077622463604bf0b539a.tar.bz2 nixlib-24b540d3ce52ec0a26b9077622463604bf0b539a.tar.lz nixlib-24b540d3ce52ec0a26b9077622463604bf0b539a.tar.xz nixlib-24b540d3ce52ec0a26b9077622463604bf0b539a.tar.zst nixlib-24b540d3ce52ec0a26b9077622463604bf0b539a.zip |
nixos/pppd: port test to python
Diffstat (limited to 'nixos/tests')
-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 91f811859093..bda0aa75bb50 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") ''; - }) + }) |