mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
tests/complex: also mark zfs_fs dataset as non-fail
Reason is probably same as zfs_legacy_fs
This commit is contained in:
parent
c4f2de908d
commit
76d301bc94
2 changed files with 2 additions and 1 deletions
|
@ -7,13 +7,13 @@ diskoLib.testLib.makeDiskoTest {
|
||||||
disko-config = ../example/complex.nix;
|
disko-config = ../example/complex.nix;
|
||||||
extraSystemConfig = {
|
extraSystemConfig = {
|
||||||
fileSystems."/zfs_legacy_fs".options = [ "nofail" ]; # TODO find out why we need this!
|
fileSystems."/zfs_legacy_fs".options = [ "nofail" ]; # TODO find out why we need this!
|
||||||
|
fileSystems."/zfs_fs".options = [ "nofail" ]; # TODO find out why we need this!
|
||||||
};
|
};
|
||||||
testMode = "direct";
|
testMode = "direct";
|
||||||
extraTestScript = ''
|
extraTestScript = ''
|
||||||
machine.succeed("test -b /dev/zroot/zfs_testvolume");
|
machine.succeed("test -b /dev/zroot/zfs_testvolume");
|
||||||
machine.succeed("test -b /dev/md/raid1p1");
|
machine.succeed("test -b /dev/md/raid1p1");
|
||||||
|
|
||||||
|
|
||||||
machine.succeed("mountpoint /zfs_fs");
|
machine.succeed("mountpoint /zfs_fs");
|
||||||
machine.succeed("mountpoint /zfs_legacy_fs");
|
machine.succeed("mountpoint /zfs_legacy_fs");
|
||||||
machine.succeed("mountpoint /ext4onzfs");
|
machine.succeed("mountpoint /ext4onzfs");
|
||||||
|
|
|
@ -7,6 +7,7 @@ diskoLib.testLib.makeDiskoTest {
|
||||||
disko-config = ../example/complex.nix;
|
disko-config = ../example/complex.nix;
|
||||||
extraSystemConfig = {
|
extraSystemConfig = {
|
||||||
fileSystems."/zfs_legacy_fs".options = [ "nofail" ]; # TODO find out why we need this!
|
fileSystems."/zfs_legacy_fs".options = [ "nofail" ]; # TODO find out why we need this!
|
||||||
|
fileSystems."/zfs_fs".options = [ "nofail" ]; # TODO find out why we need this!
|
||||||
};
|
};
|
||||||
extraTestScript = ''
|
extraTestScript = ''
|
||||||
machine.succeed("test -b /dev/zroot/zfs_testvolume");
|
machine.succeed("test -b /dev/zroot/zfs_testvolume");
|
||||||
|
|
Loading…
Reference in a new issue