diff options
author | Neil Williams <codehelp@debian.org> | 2015-11-07 13:27:03 +0000 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-11-07 13:28:17 +0000 |
commit | 66614ed9bc09d6ad817df655cd7249c2104b7ac7 (patch) | |
tree | 7cee4a8f6c8a544f6f42504ba50c521fadb05f21 /yarns/300-slow-build-tests.yarn | |
parent | 2c910b778ea0fd4a6b3d72c7e883b73c8607a2b5 (diff) | |
download | vmdebootstrap-66614ed9bc09d6ad817df655cd7249c2104b7ac7.tar.gz |
Add docs on the yarn tests and more build tests
Diffstat (limited to 'yarns/300-slow-build-tests.yarn')
-rw-r--r-- | yarns/300-slow-build-tests.yarn | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/yarns/300-slow-build-tests.yarn b/yarns/300-slow-build-tests.yarn index 41d11a3..2ceae72 100644 --- a/yarns/300-slow-build-tests.yarn +++ b/yarns/300-slow-build-tests.yarn @@ -14,7 +14,26 @@ These tests are slow, since building images is slow. GIVEN user wants to build an image FOO.img that is 2GiB in size WHEN the user runs vmdebootstrap --sparse --extlinux THEN the image has the correct size - AND the image has one partition + AND the partition count of the image is 1 AND partition 1 has the boot flag set AND partition 1 has an ext4 filesystem AND partition 1 has file /etc/debian_version matching ^8\..*$ + + SCENARIO build a Debian 8 image with grub + ASSUMING build tests are requested + GIVEN user wants to build an image FOO.img that is 2GiB in size + WHEN the user runs vmdebootstrap --grub + THEN the image has the correct size + AND the partition count of the image is 1 + AND partition 1 has the boot flag set + AND partition 1 has an ext4 filesystem + AND partition 1 has file /boot/grub/grub.cfg matching ^### BEGIN /etc/grub.d/00_header ###$ + + SCENARIO build a Debian 8 image with uefi + ASSUMING build tests are requested + GIVEN user wants to build an image FOO.img that is 2GiB in size + WHEN the user runs vmdebootstrap --grub --use-uefi + THEN the image has the correct size + AND the partition count of the image is 2 + AND partition 1 has an vfat filesystem + AND partition 2 has file /boot/grub/grub.cfg matching ^### BEGIN /etc/grub.d/00_header ###$ |