[Qa-jenkins-scm] [jenkins.debian.net] 11/12: lvc: tidy some string concatenation
Holger Levsen
holger at layer-acht.org
Wed Jun 1 22:09:11 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 6f13064573dc1b3103c94160d6451885c1bcf192
Author: Philip Hands <phil at hands.com>
Date: Wed Jun 1 17:38:00 2016 +0200
lvc: tidy some string concatenation
---
cucumber/features/step_definitions/common_steps.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index fa000fe..0bb57ec 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -129,7 +129,7 @@ Given /^I intend to use ([a-z]*) mode$/ do |ui_mode|
end
def diui_png(name)
- return "d-i_" + @ui_mode + "_" + name + ".png"
+ return "d-i_#{@ui_mode}_#{name}.png"
end
Given /^a computer$/ do
@@ -271,13 +271,13 @@ Given /^I select the install mode$/ do
boot_timeout = 60
on_screen, _ = @screen.waitAny(["d-i_boot_graphical-default.png","d-i_boot_text-default.png"], boot_timeout * PATIENCE)
- debug_log("debug: found '"+on_screen+"' in the bootspash", :color => :blue)
+ debug_log("debug: found '#{on_screen}' in the bootspash", :color => :blue)
if ("d-i_boot_text-default.png" == on_screen) == ("gui" == @ui_mode)
@screen.type(Sikuli::Key.DOWN)
end
#@screen.type(Sikuli::Key.TAB)
- #@screen.type(' preseed/early_command="echo DPMS=-s\\\\ 0 > /lib/debian-installer.d/S61Xnoblank ; sed -i \'/XF86_Switch_VT_/s/ F\([0-9]\)/ XF86_Switch_VT_\1/\' /usr/share/X11/xkb/symbols/srvr_ctrl ; echo ttyS0::askfirst:-/bin/sh>>/etc/inittab;kill -HUP 1"' + " blacklist=psmouse #{@boot_options}" +
+ #@screen.type(' preseed/early_command="echo DPMS=-s\\\\ 0 > /lib/debian-installer.d/S61Xnoblank ; sed -i \'/XF86_Switch_VT_/s/ F\([0-9]\)/ XF86_Switch_VT_\1/\' /usr/share/X11/xkb/symbols/srvr_ctrl ; echo ttyS0::askfirst:-/bin/sh>>/etc/inittab;kill -HUP 1" blacklist=psmouse ' + @boot_options +
# Sikuli::Key.ENTER)
#$vm.wait_until_remote_shell_is_up
--
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