[Qa-jenkins-scm] [jenkins.debian.net] 11/14: lvc: drop some unneeded cleverness re. LVM names
Holger Levsen
holger at layer-acht.org
Thu Nov 3 09:32:27 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 95425953ec8190c8e276a7bd3c37a69c94a4a51f
Author: Philip Hands <phil at hands.com>
Date: Sun Oct 30 15:04:14 2016 +0100
lvc: drop some unneeded cleverness re. LVM names
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
cucumber/features/install.feature | 4 ++--
cucumber/features/step_definitions/common_steps.rb | 5 ++---
cucumber/features/step_definitions/snapshots.rb | 2 +-
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/cucumber/features/install.feature b/cucumber/features/install.feature
index 79b164e..369679f 100644
--- a/cucumber/features/install.feature
+++ b/cucumber/features/install.feature
@@ -27,7 +27,7 @@ Feature: Doing variations on d-i installs
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 "#{JOB_NAME}"
+ And the computer is set to boot from ide drive
When I start the computer
Then I should see a Gnome Login prompt
@@ -52,5 +52,5 @@ Feature: Doing variations on d-i installs
When I start the computer
And I select the install mode
And the VM shuts down within 20 minutes
- And the computer is set to boot from ide drive "#{JOB_NAME}"
+ And the computer is set to boot from ide drive
Then I should see a LXDE Login prompt
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index 8085c04..be5e887 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 d90293a..d3d343d 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
--
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