nixos/strongswan-swanctl: port test to python
This commit is contained in:
parent
c0c04737ed
commit
1b6ca29f6d
|
@ -16,7 +16,7 @@
|
||||||
# See the NixOS manual for how to run this test:
|
# See the NixOS manual for how to run this test:
|
||||||
# https://nixos.org/nixos/manual/index.html#sec-running-nixos-tests-interactively
|
# https://nixos.org/nixos/manual/index.html#sec-running-nixos-tests-interactively
|
||||||
|
|
||||||
import ./make-test.nix ({ pkgs, ...} :
|
import ./make-test-python.nix ({ pkgs, ...} :
|
||||||
|
|
||||||
let
|
let
|
||||||
allowESP = "iptables --insert INPUT --protocol ESP --jump ACCEPT";
|
allowESP = "iptables --insert INPUT --protocol ESP --jump ACCEPT";
|
||||||
|
@ -142,7 +142,7 @@ in {
|
||||||
|
|
||||||
};
|
};
|
||||||
testScript = ''
|
testScript = ''
|
||||||
startAll();
|
start_all()
|
||||||
$carol->waitUntilSucceeds("ping -c 1 alice");
|
carol.wait_until_succeeds("ping -c 1 alice")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue