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.8.2.b11 test/test_debian.rb
autoproj-1.8.2.b10 test/test_debian.rb
autoproj-1.8.2.b9 test/test_debian.rb
autoproj-1.8.2.b8 test/test_debian.rb
autoproj-1.8.2.b7 test/test_debian.rb
autoproj-1.8.2.b6 test/test_debian.rb
autoproj-1.8.2.b5 test/test_debian.rb
autoproj-1.8.2.b4 test/test_debian.rb
autoproj-1.8.2.b3 test/test_debian.rb
autoproj-1.8.2.b2 test/test_debian.rb
autoproj-1.8.2.b1 test/test_debian.rb
autoproj-1.8.1 test/test_debian.rb
autoproj-1.8.0 test/test_debian.rb
autoproj-1.8.0.rc7 test/test_debian.rb
autoproj-1.8.0.rc6 test/test_debian.rb
autoproj-1.8.0.rc5 test/test_debian.rb
autoproj-1.8.0.rc4 test/test_debian.rb
autoproj-1.8.0.rc3 test/test_debian.rb
autoproj-1.8.0.rc2 test/test_debian.rb
autoproj-1.8.0.rc1 test/test_debian.rb