1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/nixos/tests/qemu-vm-volatile-root.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
311 B
Nix
Raw Normal View History

# 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 /")
'';
}