summaryrefslogtreecommitdiffstats
path: root/cucumber/features/step_definitions
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-10-30 15:04:14 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-03 10:28:15 +0100
commit95425953ec8190c8e276a7bd3c37a69c94a4a51f (patch)
tree54d110ee0371b652b22a3d62053a72ffe53fdde0 /cucumber/features/step_definitions
parentdd13c0f7244ab70b3ee603bb7bdbc73d0fd2f6c3 (diff)
downloadjenkins.debian.net-95425953ec8190c8e276a7bd3c37a69c94a4a51f.tar.xz
lvc: drop some unneeded cleverness re. LVM names
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'cucumber/features/step_definitions')
-rw-r--r--cucumber/features/step_definitions/common_steps.rb5
-rw-r--r--cucumber/features/step_definitions/snapshots.rb2
2 files changed, 3 insertions, 4 deletions
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index 8085c048..be5e887d 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -152,9 +152,8 @@ Given /^the computer is set to boot from the Tails DVD$/ do
$vm.set_cdrom_boot(TAILS_ISO)
end
-Given /^the computer is set to boot from (.+?) drive "(.+?)"$/ do |type, name|
- debug_log("debug: setting computer to boot from drive: name='#{name}' (type=#{type})", :color => :blue)
- $vm.set_disk_boot(name, type.downcase)
+Given /^the computer is set to boot from (.+?) drive$/ do |type|
+ $vm.set_disk_boot(JOB_NAME, type.downcase)
end
Given /^I (temporarily )?create a (\d+) ([[:alpha:]]+) disk named "([^"]+)"$/ do |temporary, size, unit, name|
diff --git a/cucumber/features/step_definitions/snapshots.rb b/cucumber/features/step_definitions/snapshots.rb
index d90293ad..d3d343d5 100644
--- a/cucumber/features/step_definitions/snapshots.rb
+++ b/cucumber/features/step_definitions/snapshots.rb
@@ -42,7 +42,7 @@ def checkpoints
'I allow reboot after the install is complete',
'I wait for the reboot',
'I power off the computer',
- 'the computer is set to boot from ide drive "'+JOB_NAME+'"',
+ 'the computer is set to boot from ide drive',
]
}
end