diff options
author | Philip Hands <phil@hands.com> | 2017-03-08 12:47:41 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-03-20 15:56:46 +0100 |
commit | c7a9bfe0d40e17aa76484d5e3c83995042345661 (patch) | |
tree | f274320f0259cea0e68f9d49eee745f047a69e47 /cucumber/features/install.feature | |
parent | 5bf2b923f4dfc56a9e9686eb52ef610db3492728 (diff) | |
download | jenkins.debian.net-c7a9bfe0d40e17aa76484d5e3c83995042345661.tar.xz |
lvc: add a 'running ...' step for remote commands, and use it
this includes a new @bugtest scenario for testing the patch for #853855
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'cucumber/features/install.feature')
-rw-r--r-- | cucumber/features/install.feature | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/cucumber/features/install.feature b/cucumber/features/install.feature index cb918ba3..93d1c332 100644 --- a/cucumber/features/install.feature +++ b/cucumber/features/install.feature @@ -75,16 +75,50 @@ Feature: Doing variations on d-i installs And I intend to use gui mode And I intend to boot with options: auto=true priority=critical wibble.foo=bar url=hands.com classes=jenkins.debian.org/pb10;loc/gb;hands.com/general-tweaks;setup/users;partition/atomic;desktop/lxde hands-off/checksigs=true DEBCONF_DEBUG=5 And I start the computer - And I select the install mode And I execute "grep wibble /proc/cmdline" + And I execute "ls /var/lib/register-module" + And I select the install mode And I expect package installation to start And I execute "ls /var/lib/register-module" + And I execute "grep wibble /target/etc/modprobe.d/local.conf" And I wait while the bulk of the packages are installed + And I execute "grep wibble /target/boot/grub/grub.cfg" And the VM shuts down within 20 minutes When the computer is set to boot from ide drive And I start the computer Then I should see a LXDE Login prompt + @bugtest + Scenario: Preseed using hands.com with checksum + Given a disk is created for Debian Installer tests + And I intend to use gui mode + And I intend to boot with options: wibble.foo=bar fsck.bar=baz + And I start the computer + And I select the install mode + And I select British English + And running "grep wibble /proc/cmdline" succeeds + And running "cat /var/lib/register-module/wibble.params" succeeds + And I accept the hostname, using "example.com" as the domain + And I set the root password to "rootme" + And I set the password for "Philip Hands" to be "verysecret" + And I select full-disk, single-filesystem partitioning + And I note that the Base system is being installed + And I accept the default mirror + And I ignore Popcon + And we reach the Tasksel prompt + And I select the LXDE task + And running "grep wibble /target/etc/modprobe.d/local.conf" succeeds + And running "grep fsck /target/etc/modprobe.d/local.conf" fails + And I wait while the bulk of the packages are installed + And I install GRUB + And running "grep wibble /target/boot/grub/grub.cfg" succeeds + And I allow reboot after the install is complete + And I wait for the reboot + And I power off the computer + And the computer is set to boot from ide drive + When I start the computer + Then I should see a LXDE Login prompt + @debedu Scenario: Install default Debian-Edu Given a disk is created for Debian Edu tests |