forked from mirrors/nixpkgs
nixos/ndppd: port test to python test-driver
This commit is contained in:
parent
d35bd2f7b8
commit
a9a271792d
|
@ -1,4 +1,4 @@
|
|||
import ./make-test.nix ({ pkgs, lib, ...} : {
|
||||
import ./make-test-python.nix ({ pkgs, lib, ...} : {
|
||||
name = "ndppd";
|
||||
meta = with pkgs.stdenv.lib.maintainers; {
|
||||
maintainers = [ fpletz ];
|
||||
|
@ -52,9 +52,9 @@ import ./make-test.nix ({ pkgs, lib, ...} : {
|
|||
};
|
||||
|
||||
testScript = ''
|
||||
startAll;
|
||||
$server->waitForUnit("multi-user.target");
|
||||
$upstream->waitForUnit("multi-user.target");
|
||||
$upstream->waitUntilSucceeds("ping -c5 fd42::2");
|
||||
start_all()
|
||||
server.wait_for_unit("multi-user.target")
|
||||
upstream.wait_for_unit("multi-user.target")
|
||||
upstream.wait_until_succeeds("ping -c5 fd42::2")
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue