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";
|
name = "ndppd";
|
||||||
meta = with pkgs.stdenv.lib.maintainers; {
|
meta = with pkgs.stdenv.lib.maintainers; {
|
||||||
maintainers = [ fpletz ];
|
maintainers = [ fpletz ];
|
||||||
|
@ -52,9 +52,9 @@ import ./make-test.nix ({ pkgs, lib, ...} : {
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
startAll;
|
start_all()
|
||||||
$server->waitForUnit("multi-user.target");
|
server.wait_for_unit("multi-user.target")
|
||||||
$upstream->waitForUnit("multi-user.target");
|
upstream.wait_for_unit("multi-user.target")
|
||||||
$upstream->waitUntilSucceeds("ping -c5 fd42::2");
|
upstream.wait_until_succeeds("ping -c5 fd42::2")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue