nixos/tests/qemu-vm-volatile-root: init
This commit is contained in:
17
nixos/tests/qemu-vm-volatile-root.nix
Normal file
17
nixos/tests/qemu-vm-volatile-root.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
# Test that the root filesystem is a volatile tmpfs.
|
||||
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
name = "qemu-vm-volatile-root";
|
||||
|
||||
meta.maintainers = with lib.maintainers; [ nikstur ];
|
||||
|
||||
nodes.machine = _: {
|
||||
virtualisation.diskImage = null;
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.succeed("findmnt --kernel --types tmpfs /")
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user