Sha256: 18ac88ee90c6e69032cc449aefbe7e56abc6aeb32ee2beb882dfe82515b30d67

Contents?: true

Size: 423 Bytes

Versions: 180

Compression:

Stored size: 423 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../lib', File.dirname(__FILE__))
require 'test/unit'
require 'autoproj/system'

class TC_Debian < Test::Unit::TestCase
    def test_debian_detection
        assert Autoproj.on_debian?
    end

    def test_apt_version
        apt_version = Autoproj.apt_version
        version_string = apt_version.join(".")
        assert `apt-get -v` =~ /#{Regexp.quote(version_string)}/
    end
end

Version data entries

180 entries across 180 versions & 1 rubygems

Version Path
autoproj-1.7.21.b7 test/test_debian.rb
autoproj-1.7.21.b6 test/test_debian.rb
autoproj-1.7.21.b5 test/test_debian.rb
autoproj-1.7.21.b4 test/test_debian.rb
autoproj-1.7.21.b3 test/test_debian.rb
autoproj-1.7.21.b2 test/test_debian.rb
autoproj-1.7.21.b1 test/test_debian.rb
autoproj-1.7.20 test/test_debian.rb
autoproj-1.7.19 test/test_debian.rb
autoproj-1.7.19.rc2 test/test_debian.rb
autoproj-1.7.19.rc1 test/test_debian.rb
autoproj-1.7.18 test/test_debian.rb
autoproj-1.7.17 test/test_debian.rb
autoproj-1.7.17.rc2 test/test_debian.rb
autoproj-1.7.17.rc1 test/test_debian.rb
autoproj-1.7.16 test/test_debian.rb
autoproj-1.7.16.rc3 test/test_debian.rb
autoproj-1.7.16.rc2 test/test_debian.rb
autoproj-1.7.15 test/test_debian.rb
autoproj-1.7.15.rc4 test/test_debian.rb