nixos/tests/machinectl: auto-format test
This commit is contained in:
parent
07512215ac
commit
aefaae0c9d
@ -1,5 +1,5 @@
|
||||
import ./make-test-python.nix ({ pkgs, ... }:
|
||||
let
|
||||
let
|
||||
|
||||
container = {
|
||||
# We re-use the NixOS container option ...
|
||||
@ -25,8 +25,8 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
||||
containerName = "container";
|
||||
containerRoot = "/var/lib/machines/${containerName}";
|
||||
|
||||
in
|
||||
{
|
||||
in
|
||||
{
|
||||
name = "systemd-machinectl";
|
||||
|
||||
nodes.machine = { lib, ... }: {
|
||||
@ -145,5 +145,4 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
||||
machine.succeed("chattr -i ${containerRoot}/var/empty");
|
||||
machine.succeed("rm -rf ${containerRoot}");
|
||||
'';
|
||||
}
|
||||
)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user