nixosTests.initrd-network: Port tests to python
This commit is contained in:
parent
9fbb427f67
commit
a6ac3fd89f
@ -1,4 +1,4 @@
|
|||||||
import ./make-test.nix ({ pkgs, ...} : {
|
import ./make-test-python.nix ({ pkgs, ...} : {
|
||||||
name = "initrd-network";
|
name = "initrd-network";
|
||||||
|
|
||||||
meta.maintainers = [ pkgs.stdenv.lib.maintainers.eelco ];
|
meta.maintainers = [ pkgs.stdenv.lib.maintainers.eelco ];
|
||||||
@ -15,8 +15,8 @@ import ./make-test.nix ({ pkgs, ...} : {
|
|||||||
|
|
||||||
testScript =
|
testScript =
|
||||||
''
|
''
|
||||||
startAll;
|
start_all()
|
||||||
$machine->waitForUnit("multi-user.target");
|
machine.wait_for_unit("multi-user.target")
|
||||||
$machine->succeed("ip link >&2");
|
machine.succeed("ip link >&2")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user