summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2015-12-20 10:46:41 +0000
committerNeil Williams <codehelp@debian.org>2015-12-20 10:46:41 +0000
commit0dfb97b1d88509244d3844ca5a693c8141d55bd8 (patch)
tree01388479e99a88268f0c683d12eeec6cb0d5bfb7 /yarns
parent2889b066f2f0bfa390a40b58862e5bb9fbeb9299 (diff)
downloadvmdebootstrap-0dfb97b1d88509244d3844ca5a693c8141d55bd8.tar.gz
apt-mirror requires configure-apt
Diffstat (limited to 'yarns')
-rw-r--r--yarns/200-fast-tests.yarn7
1 files changed, 7 insertions, 0 deletions
diff --git a/yarns/200-fast-tests.yarn b/yarns/200-fast-tests.yarn
index 89a01e8..8955d75 100644
--- a/yarns/200-fast-tests.yarn
+++ b/yarns/200-fast-tests.yarn
@@ -101,6 +101,13 @@ verify that vmdebootstrap parses the command line correctly.
AND vmdebootstrap wrote an error message matching supports UEFI
AND vmdebootstrap wrote an error message matching Wheezy
+ SCENARIO disallow apt-mirror without configure-apt
+ ASSUMING fast tests are requested
+ WHEN user attempts to run vmdebootstrap
+ ... --image=FOO --apt-mirror=mirror
+ THEN vmdebootstrap exited with a non-zero exit code
+ AND vmdebootstrap wrote an error message matching requires --configure-apt as well
+
SCENARIO default includes the kernel package
ASSUMING fast tests are requested
WHEN user attempts to run vmdebootstrap