Sha256: 9775c2ec3aa0512c29dfcfbee9736c3b585b80dcfb164aa01b7a0cd09acbbce1

Contents?: true

Size: 985 Bytes

Versions: 16

Compression:

Stored size: 985 Bytes

Contents

require 'abiquo_platform'

class AbiquoV2VTest < Test::Unit::TestCase
  
    def test_tomcat_running
      assert !`ps aux|grep java|grep '/opt/abiquo/tomcat'`.strip.chomp.empty?
    end

    def test_nfs_mounted
      if (not ::TestUtils.installer_profiles.include?('abiquo-nfs-repository')) and \
          (! ::TestUtils.installer_profiles.include?('cloud-in-a-box'))
        assert !`mount|grep vm_repository`.strip.chomp.empty?
      end
    end
    
    def test_abiquo_repository_file
      assert File.exist? '/opt/vm_repository/.abiquo_repository'
    end
    
    def test_tomcat_enabled
      assert ::TestUtils.service_on?('abiquo-tomcat')
    end

    def test_v2v_context_present
      assert File.directory? '/opt/abiquo/tomcat/webapps/bpm-async'
    end

    def test_v2v_scripts
      assert File.exist?('/usr/bin/mechadora')
      assert File.exist?('/usr/bin/v2v-diskmanager')
    end

    def test_abiquo_dir
      assert File.directory? '/opt/abiquo'
    end

end

Version data entries

16 entries across 8 versions & 1 rubygems

Version Path
abiquo-installer-tests-20121026.1 tests/1.8.5/abiquo_v2v.rb
abiquo-installer-tests-20121026.1 tests/1.8.0/abiquo_v2v.rb
abiquo-installer-tests-20121026.1 tests/1.7.6/abiquo_v2v.rb
abiquo-installer-tests-20121023.3 tests/1.7.6/abiquo_v2v.rb
abiquo-installer-tests-20121023.3 tests/1.8.5/abiquo_v2v.rb
abiquo-installer-tests-20121023.3 tests/1.8.0/abiquo_v2v.rb
abiquo-installer-tests-20120104 tests/1.7.6/abiquo_v2v.rb
abiquo-installer-tests-20120104 tests/1.8.0/abiquo_v2v.rb
abiquo-installer-tests-0.2.4 tests/1.7.6/abiquo_v2v.rb
abiquo-installer-tests-0.2.4 tests/1.8.0/abiquo_v2v.rb
abiquo-installer-tests-0.2.3 tests/1.7.6/abiquo_v2v.rb
abiquo-installer-tests-0.2.3 tests/1.8.0/abiquo_v2v.rb
abiquo-installer-tests-0.2.2 tests/1.8.0/abiquo_v2v.rb
abiquo-installer-tests-0.2.2 tests/1.7.6/abiquo_v2v.rb
abiquo-installer-tests-0.2.1 tests/1.8.0/abiquo_v2v.rb
abiquo-installer-tests-0.2 tests/1.8.0/abiquo_v2v.rb