[SCM] ci-tooling packaging branch, master, updated. d8efa83f7db7664e03ba1a4bb4929b6784c0db72
Harald Sitter
apachelogger-guest at moszumanska.debian.org
Mon Mar 23 11:19:18 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=f02deaf
The following commit has been merged in the master branch:
commit f02deaf730067154f9dfaeaf8ce25489f9a03abe
Author: Harald Sitter <sitter at kde.org>
Date: Mon Mar 23 12:12:12 2015 +0100
force fake lsb data to provoke test fail on leakay mocking
---
test/data/test_lsb/lsb-release | 8 ++++----
test/test_lsb.rb | 12 ++++++------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/test/data/test_lsb/lsb-release b/test/data/test_lsb/lsb-release
index deaf4d2..366c1f6 100644
--- a/test/data/test_lsb/lsb-release
+++ b/test/data/test_lsb/lsb-release
@@ -1,4 +1,4 @@
-DISTRIB_ID=Ubuntu
-DISTRIB_RELEASE=15.04
-DISTRIB_CODENAME=vivid
-DISTRIB_DESCRIPTION="Ubuntu Vivid Vervet (development branch)"
+DISTRIB_ID=Mebuntu
+DISTRIB_RELEASE=15.01
+DISTRIB_CODENAME=codename
+DISTRIB_DESCRIPTION="Mebuntu CodeName (development branch)"
diff --git a/test/test_lsb.rb b/test/test_lsb.rb
index 37048df..f9ccba7 100644
--- a/test/test_lsb.rb
+++ b/test/test_lsb.rb
@@ -18,16 +18,16 @@ class LSBTest < Test::Unit::TestCase
end
def test_parse
- ref = { :DISTRIB_ID => 'Ubuntu',
- :DISTRIB_RELEASE => '15.04',
- :DISTRIB_CODENAME => 'vivid',
- :DISTRIB_DESCRIPTION => 'Ubuntu Vivid Vervet (development branch)'
+ ref = { :DISTRIB_ID => 'Mebuntu',
+ :DISTRIB_RELEASE => '15.01',
+ :DISTRIB_CODENAME => 'codename',
+ :DISTRIB_DESCRIPTION => 'Mebuntu CodeName (development branch)'
}
assert_equal(ref, LSB.to_h)
end
def test_consts
- assert_equal('Ubuntu', LSB::DISTRIB_ID)
- assert_equal('vivid', LSB::DISTRIB_CODENAME)
+ assert_equal('Mebuntu', LSB::DISTRIB_ID)
+ assert_equal('codename', LSB::DISTRIB_CODENAME)
end
end
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list