diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-23 20:07:41 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-23 20:07:41 -0500 |
commit | 6209b9c9f77af5f7ca0618a44bfd0b5955d7d678 (patch) | |
tree | df9b6b5ce94183300a18591e744c45080583e6af /tests/spec/validator_spec.rb | |
parent | 19d1c74b4c6baabc4b70216e4efc8800044ea4ac (diff) | |
download | horizon-6209b9c9f77af5f7ca0618a44bfd0b5955d7d678.tar.gz horizon-6209b9c9f77af5f7ca0618a44bfd0b5955d7d678.tar.bz2 horizon-6209b9c9f77af5f7ca0618a44bfd0b5955d7d678.tar.xz horizon-6209b9c9f77af5f7ca0618a44bfd0b5955d7d678.zip |
hscript: Implement runlevel support in svcenable key
Diffstat (limited to 'tests/spec/validator_spec.rb')
-rw-r--r-- | tests/spec/validator_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/spec/validator_spec.rb b/tests/spec/validator_spec.rb index a5e11e6..8fb6c95 100644 --- a/tests/spec/validator_spec.rb +++ b/tests/spec/validator_spec.rb @@ -687,6 +687,12 @@ RSpec.describe 'HorizonScript validation', :type => :aruba do run_validate expect(last_command_started).to have_output(/error: .*svcenable.*invalid/) end + it "succeeds with a runlevel specified" do + use_fixture '0239-svcenable-runlevel.installfile' + run_validate + expect(last_command_started).to have_output(PARSER_SUCCESS) + expect(last_command_started).to have_output(VALIDATOR_SUCCESS) + end end context "for 'diskid' key" do it "succeeds with basic disk identification" do |