From d61fd1522b0477b376418edb9dc1ea336af29f89 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 10 Nov 2022 09:46:55 +0100 Subject: add regression test for #52 --- tests/multi-device-no-deps.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/multi-device-no-deps.nix (limited to 'tests') diff --git a/tests/multi-device-no-deps.nix b/tests/multi-device-no-deps.nix new file mode 100644 index 0000000..ef1f7a8 --- /dev/null +++ b/tests/multi-device-no-deps.nix @@ -0,0 +1,12 @@ +# this is a regression test for https://github.com/nix-community/disko/issues/52 +{ pkgs ? (import { }) +, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest +}: +makeDiskoTest { + disko-config = ../example/multi-device-no-deps.nix; + testBoot = false; + extraTestScript = '' + machine.succeed("mountpoint /mnt/a"); + machine.succeed("mountpoint /mnt/b"); + ''; +} -- cgit v1.2.3