[SCM] ci-tooling packaging branch, master, updated. 3e0962e5ec74a4adcfa544277378176c3f5307b1

Harald Sitter apachelogger-guest at moszumanska.debian.org
Tue May 12 09:28:19 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=6646783

The following commit has been merged in the master branch:
commit 6646783a16f01b9fa977038dcbae83cea2e66e95
Author: Harald Sitter <sitter at kde.org>
Date:   Tue May 12 11:27:15 2015 +0200

    test that repo.new actually attempts to install software-properties
---
 test/test_apt.rb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/test/test_apt.rb b/test/test_apt.rb
index ac8dee8..fd6e7e2 100644
--- a/test/test_apt.rb
+++ b/test/test_apt.rb
@@ -7,7 +7,11 @@ class AptTest < TestCase
   prepend AssertSystem
 
   def test_repo
-    repo = Apt::Repository.new('ppa:yolo')
+    repo = nil
+    assert_system_default(%w(install software-properties-common)) do
+      repo = Apt::Repository.new('ppa:yolo')
+    end
+
     assert_system(['add-apt-repository', '-y', 'ppa:yolo']) do
       repo.add
     end

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list