diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-09-04 12:11:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-04 12:11:54 +0100 |
commit | fbc08430d28a65eb3e783feb892659d32abd4551 (patch) | |
tree | cba2f7972cb82ff445e68383a46927c8a25ec763 /tests/gpt-bios-compat.nix | |
parent | adf901d58155ca268d15351fff164d3ef38a0890 (diff) | |
parent | 68f950bf2045573b03cd0e1ceebe7131ea999873 (diff) |
Merge pull request #31 from nix-community/types
Reimplement using types
Diffstat (limited to 'tests/gpt-bios-compat.nix')
-rw-r--r-- | tests/gpt-bios-compat.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/gpt-bios-compat.nix b/tests/gpt-bios-compat.nix new file mode 100644 index 0000000..df35335 --- /dev/null +++ b/tests/gpt-bios-compat.nix @@ -0,0 +1,10 @@ +{ pkgs ? (import <nixpkgs> { }) +, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest +}: +makeDiskoTest { + disko-config = import ../example/gpt-bios-compat.nix; + extraTestScript = '' + machine.succeed("mountpoint /mnt"); + machine.succeed("grub-install --target=i386-pc /dev/vdb"); + ''; +} |