diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-20 00:29:05 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-20 00:29:05 -0500 |
commit | 8351629c862e5a5f55e0e3a87950c5c55f995e99 (patch) | |
tree | 9184aaa4d527674f83adbb3ee7eaf0487a6f2ddf /tests/spec | |
parent | d01890078c281453db8d5fc8ea7c082d0ce9782b (diff) | |
download | horizon-8351629c862e5a5f55e0e3a87950c5c55f995e99.tar.gz horizon-8351629c862e5a5f55e0e3a87950c5c55f995e99.tar.bz2 horizon-8351629c862e5a5f55e0e3a87950c5c55f995e99.tar.xz horizon-8351629c862e5a5f55e0e3a87950c5c55f995e99.zip |
Fix tests when install env code is disabled
Diffstat (limited to 'tests/spec')
-rw-r--r-- | tests/spec/validator_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/spec/validator_spec.rb b/tests/spec/validator_spec.rb index 36af73a..d0b9590 100644 --- a/tests/spec/validator_spec.rb +++ b/tests/spec/validator_spec.rb @@ -486,17 +486,20 @@ RSpec.describe 'HorizonScript validation', :type => :aruba do it "succeeds with present disk" do use_fixture '0078-diskid-diskid-loop0.installfile' run_validate ' -i' + skip "This build does not support this test" if last_command_started.stdout =~ /runtime environment only/ expect(last_command_started).to have_output(PARSER_SUCCESS) expect(last_command_started).to have_output(VALIDATOR_SUCCESS) end it "fails with non-present disk" do use_fixture '0079-diskid-enoent.installfile' run_validate ' -i' + skip "This build does not support this test" if last_command_started.stdout =~ /runtime environment only/ expect(last_command_started).to have_output(/No such file or directory/) end it "fails with non-disk file" do use_fixture '0080-diskid-tmp.installfile' run_validate ' -i' + skip "This build does not support this test" if last_command_started.stdout =~ /runtime environment only/ expect(last_command_started).to have_output(/error: .*diskid.*block/) end it "fails with a duplicate identification device" do |