types btrfs: fix format without swap or subvolumes

This commit is contained in:
Kira Bruneau authored and mergify[bot] committed 2024-04-08 21:37:04 +00:00
1 parent 9e0bf2fe7f
commit 79eab0e82c
3 files changed
+73 -23

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
{ pkgs ? import <nixpkgs> { }
, diskoLib ? pkgs.callPackage ../lib { }
}:
diskoLib.testLib.makeDiskoTest {
inherit pkgs;
name = "btrfs-only-root-subvolume";
disko-config = ../example/btrfs-only-root-subvolume.nix;
extraTestScript = ''
machine.succeed("btrfs subvolume list /");
'';
}