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.9.7.rc9 test/test_debian.rb
autoproj-1.9.7.rc7 test/test_debian.rb
autoproj-1.9.7.rc6 test/test_debian.rb
autoproj-1.9.7.rc5 test/test_debian.rb
autoproj-1.9.7.rc4 test/test_debian.rb
autoproj-1.9.7.rc3 test/test_debian.rb
autoproj-1.9.7.rc2 test/test_debian.rb
autoproj-1.9.7.rc1 test/test_debian.rb
autoproj-1.9.6 test/test_debian.rb
autoproj-1.9.5 test/test_debian.rb
autoproj-1.9.5.rc5 test/test_debian.rb
autoproj-1.9.5.rc4 test/test_debian.rb
autoproj-1.9.5.rc3 test/test_debian.rb
autoproj-1.9.5.rc2 test/test_debian.rb
autoproj-1.9.5.rc1 test/test_debian.rb
autoproj-1.9.4 test/test_debian.rb
autoproj-1.9.3 test/test_debian.rb
autoproj-1.9.3.rc9 test/test_debian.rb
autoproj-1.9.3.rc8 test/test_debian.rb
autoproj-1.9.3.rc7 test/test_debian.rb