mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
fix gpt-bios-compat example and test it.
This commit is contained in:
parent
e0de34c07d
commit
fd2de4ddd4
3 changed files with 47 additions and 33 deletions
10
tests/gpt-bios-compat.nix
Normal file
10
tests/gpt-bios-compat.nix
Normal file
|
|
@ -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");
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue