summaryrefslogtreecommitdiffstats
path: root/cucumber/features/step_definitions/common_steps.rb
AgeCommit message (Collapse)AuthorFilesLines
2017-03-20lvc: make sure we wait long enough for the grub.cfg to be presentPhilip Hands1-1/+10
this adds a tweaked version of the generic image finder, to avoid trying to mention diui_png() in the cucumber code Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-03-20lvc: add a 'running ...' step for remote commands, and use itPhilip Hands1-0/+5
this includes a new @bugtest scenario for testing the patch for #853855 Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-03-07lvc: reinstate VMcommand's ability to run commands and get resultsPhilip Hands1-1/+13
This modifies the inittab to run a very simple loop on d-i's ttyS0 that reads commands from stdin, runs them and tops and tails the output with various control characters to make it easier to see when we have a result. It outputs a BEL (Ctrl-G, \a, \007) at the start, then an STX (\002) before running the command, and an ETX (\003) afterwards, to bracket STDOUT. After the ETX comes the command's return code, in decimal, then a US (\037), then comes the STDERR, and finally a NUL (\000) That lets us send an 'exit' and look for a BEL then issue a command and find the values required to populate the @returncode, @stdout and @stderr values.
2017-01-25lvc: deal with Scan CD/DVD promptPhilip Hands1-1/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-01-25lvc: single quotes get quoted unhelpfully in preseed/early_commandPhilip Hands1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-01-25lvc: look out for the "No Kernel Modules" screen, and fail if seenPhilip Hands1-1/+10
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-01-25lvc: Edu: continue to be patient while the LTSP chroot is installedPhilip Hands1-2/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-01-25lvc: log the working directoryPhilip Hands1-0/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-27lvc: recognise the DebianEdu VT loginPhilip Hands1-1/+1
2016-11-27lvc: Edu install does not prompt about GRUBPhilip Hands1-3/+3
2016-11-27lvc: Edu: Combi takes too long, so do Main Server for nowPhilip Hands1-0/+16
2016-11-27lvc: make pre-grub more patient for Debian-EduPhilip Hands1-1/+1
2016-11-26lvc: try installing a Combi server (rumour has it that that works)Philip Hands1-0/+12
2016-11-26lvc: make the boot options code able to deal with included quotesPhilip Hands1-1/+1
2016-11-26lvc: add a long pause on failure, to give time for manual debuggingPhilip Hands1-1/+2
2016-11-26lvc: it seems there is too little change for this Vanish to work, so forget itPhilip Hands1-1/+0
2016-11-26lvc: Debian-Edu: wait for disk partitioningPhilip Hands1-0/+10
2016-11-26lvc: first cut at a Debian-Edu installPhilip Hands1-0/+32
2016-11-15lvc: VT login image for stretchPhilip Hands1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-15lvc: deal with preseed install shutting down rather quicklyPhilip Hands1-2/+8
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-15lvc: add a new bootsplash image for stretch alphasPhilip Hands1-2/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-15lvc: if base install fails, try to look at tty4Philip Hands1-1/+11
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-04Revert "lcv: work around being offered American English after selecting UK"Philip Hands1-2/+1
This reverts commit 3769320be4aea15ae5f9b0c470deea67cb65e09d, and commit 6702fb2019bff2d028bbc60e3ffcf05cf131c9b8. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-04lvc: look for the heading on the InstallGRUB page (helps preseeding)Philip Hands1-2/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-04lvc: look for progress in preseed installs, to avoid timeoutsPhilip Hands1-0/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-03lvc: drop some unneeded cleverness re. LVM namesPhilip Hands1-3/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-03lvc: add some debugging to check if JOB_NAME is expandedPhilip Hands1-0/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-03lvc: wait longer for popcon promptPhilip Hands1-2/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-03lvc: step to detect VM shutdownPhilip Hands1-0/+7
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-03lvc: drop the remote shell kludge (which breaks for preseeding)Philip Hands1-6/+0
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-03lvc: start with preseed testsPhilip Hands1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13lvc: images for Gnome login screensPhilip Hands1-0/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12lvc: add bug number to commentHolger Levsen1-1/+1
2016-10-12work around being offered American English after selecting UKPhilip Hands1-1/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-26lvc: reinstate remote shell (will break on testing for now)Philip Hands1-6/+8
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-16lvc: this is needed for the miniiso's early networkingPhilip Hands1-21/+32
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-16lvc: handle the miniiso boot screenPhilip Hands1-3/+5
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-05lvc: deal with InstallationStepFailed: AltF4, pause, failPhilip Hands1-12/+18
2016-06-02lvc: remove debug bitsPhilip Hands1-3/+0
2016-06-02lvc: discard the sleeps that were inserted in debuggingPhilip Hands1-18/+6
2016-06-02lvc: need to type SPACE to select the required desktopPhilip Hands1-0/+1
2016-06-01lvc: tidy some string concatenationPhilip Hands1-3/+3
2016-06-01lvc: wait for the right image to vanishPhilip Hands1-2/+3
2016-06-01lvc: tidy up some ragged code into loopsPhilip Hands1-15/+9
2016-06-01lvc: combine gui/non gui checkpointsPhilip Hands1-3/+3
2016-06-01lvc: make alternate loginprompts configurablePhilip Hands1-1/+10
2016-06-01lvc: tweak clicks to avoid inadvertent selection of desktopsPhilip Hands1-1/+2
2016-06-01lvc: get rid of some duplicationPhilip Hands1-95/+99
2016-05-29lvc: add KDE targetPhilip Hands1-0/+4
2016-05-29lvc: duplicate the waitAny to deal with race conditionPhilip Hands1-0/+2