repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'staging-next' into staging
[NixPkgs.git]
/
nixos
/
tests
/
qemu-vm-volatile-root.nix
blob
bc8fd853409dba24be69df5fa84a46530915bf19
1
# Test that the root filesystem is a volatile tmpfs.
2
3
{ lib, ... }:
4
5
{
6
name = "qemu-vm-volatile-root";
7
8
meta.maintainers = with lib.maintainers; [ nikstur ];
9
10
nodes.machine = _: {
11
virtualisation.diskImage = null;
12
};
13
14
testScript = ''
15
machine.succeed("findmnt --kernel --types tmpfs /")
16
'';
17
}