[Qa-jenkins-scm] [jenkins.debian.net] 01/07: lvc: parameter-ise the hunt for a login prompt
Holger Levsen
holger at layer-acht.org
Sat May 21 09:36:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 5b9dd00b7dd07333d0dc7fca2b59fa5172b83509
Author: Philip Hands <phil at hands.com>
Date: Fri May 20 23:43:49 2016 +0200
lvc: parameter-ise the hunt for a login prompt
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
cucumber/features/step_definitions/common_steps.rb | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index 810a505..86ad60f 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -515,12 +515,8 @@ Given /^I wait for the reboot$/ do
@screen.wait(bootsplash, 10 * 60)
end
-Given /^I should see a console Login prompt$/ do
- @screen.wait("DebianLoginPromptVT.png", 20 * 60)
-end
-
-Given /^I should see a XFCE Login prompt$/ do
- @screen.wait("DebianLoginPromptXFCE.png", 20 * 60)
+Given /^I should see a ([a-zA-Z]*) Login prompt$/ do |style|
+ @screen.wait("DebianLoginPrompt"+style+".png", 20 * 60)
end
def bootsplash
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list