diff options
author | Neil Williams <codehelp@debian.org> | 2016-07-17 16:42:20 +0100 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2016-07-17 16:42:20 +0100 |
commit | 1e2e196ee9d07c53a039f72994ab70dd562b0a91 (patch) | |
tree | d4a1e8da0340224aed3724e447a1266ce959cf16 /yarns/300-slow-build-tests.yarn | |
parent | 88d8b498b9fa2fe99d86612454eea20533744dc6 (diff) | |
download | vmdebootstrap-1e2e196ee9d07c53a039f72994ab70dd562b0a91.tar.gz |
Handle conversion to qcow2 after umounting
Add unit test support for checking the file format.
Diffstat (limited to 'yarns/300-slow-build-tests.yarn')
-rw-r--r-- | yarns/300-slow-build-tests.yarn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/yarns/300-slow-build-tests.yarn b/yarns/300-slow-build-tests.yarn index b4b0dd3..e42e8d2 100644 --- a/yarns/300-slow-build-tests.yarn +++ b/yarns/300-slow-build-tests.yarn @@ -39,6 +39,13 @@ These tests are slow, since building images is slow. AND partition 1 has an vfat filesystem AND partition 2 has file /boot/grub/grub.cfg matching ^### BEGIN /etc/grub.d/00_header ###$ + SCENARIO build a basic Debian 8 qcow image + ASSUMING build tests are requested + GIVEN user wants to build an image FOO.img that is 2GiB in size + WHEN the user runs vmdebootstrap --sparse --extlinux --convert-qcow2 + THEN the image has the correct size + AND image has file format matching qcow2 + SCENARIO build a Debian 8 image with btrfs and grub ASSUMING build tests are requested GIVEN user wants to build an image FOO.img that is 2GiB in size |