diff options
author | lassulus <lassulus@lassul.us> | 2022-08-26 12:50:52 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-08-26 12:55:50 +0200 |
commit | 9bb4aec9640cbc30e241c267158e506278862b5e (patch) | |
tree | c6057a3d362e06742073b35d4c11db7ee9a0a820 /tests | |
parent | 722dde361ca51864fd9b3b6b9a78875e436fbc24 (diff) |
support zfs over legacy fs
Diffstat (limited to 'tests')
-rw-r--r-- | tests/zfs-over-legacy.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/zfs-over-legacy.nix b/tests/zfs-over-legacy.nix new file mode 100644 index 0000000..13f86a9 --- /dev/null +++ b/tests/zfs-over-legacy.nix @@ -0,0 +1,12 @@ +{ pkgs ? (import <nixpkgs> { }) +, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest +}: +makeDiskoTest { + disko-config = import ../example/zfs-over-legacy.nix; + extraTestScript = '' + machine.succeed("test -e /mnt/zfs_fs"); + machine.succeed("mountpoint /mnt"); + machine.succeed("mountpoint /mnt/zfs_fs"); + ''; +} + |