summaryrefslogtreecommitdiff
path: root/yarns/300-slow-build-tests.yarn
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2016-03-14 19:40:56 +0000
committerNeil Williams <codehelp@debian.org>2016-03-14 19:42:13 +0000
commit3d683971875f4b9fbc98fa03148aa37b3e4fd820 (patch)
treee4bde21c6bf88cf871b365b61fbee26dcad6a868 /yarns/300-slow-build-tests.yarn
parentb5fcad38d623d2a5f6bc0b36d53d2d7b3dbf9f83 (diff)
downloadvmdebootstrap-3d683971875f4b9fbc98fa03148aa37b3e4fd820.tar.gz
Add support for user-specific bootflagsvmdebootstrap-1.5
(Only for the first partition).
Diffstat (limited to 'yarns/300-slow-build-tests.yarn')
-rw-r--r--yarns/300-slow-build-tests.yarn10
1 files changed, 10 insertions, 0 deletions
diff --git a/yarns/300-slow-build-tests.yarn b/yarns/300-slow-build-tests.yarn
index 1934217..b4b0dd3 100644
--- a/yarns/300-slow-build-tests.yarn
+++ b/yarns/300-slow-build-tests.yarn
@@ -60,3 +60,13 @@ These tests are slow, since building images is slow.
AND partition 2 has an ext4 filesystem
AND partition 2 has file /etc/fstab matching ^\S+\s+\/\s+ext4\s+errors=remount-ro\s+\d\s+\d$
AND partition 2 has file /etc/fstab matching ^\S+\s+\/boot\s+ext3\s+errors=remount-ro\s+\d\s+\d$
+
+ SCENARIO build a Debian 8 armhf image with boot flag lba
+ ASSUMING build tests are requested
+ GIVEN user wants to build an image FOO.img that is 2GiB in size
+ WHEN the user runs vmdebootstrap --bootflag=lba --arch armhf
+ ... --foreign /usr/bin/qemu-arm-static --bootsize 100mib --boottype vfat
+ THEN the image has the correct size
+ AND the partition count of the image is 2
+ AND partition 1 has the boot flag set
+ AND partition 1 has the lba flag set