[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

James Turnbull james at lovedthanlost.net
Fri Jan 23 14:21:56 UTC 2009


The following commit has been merged in the master branch:
commit b22303e31654b44c300c713426d7f16ef37f4210
Author: Brice Figureau <brice-puppet at daysofwonder.com>
Date:   Sun Dec 7 11:32:51 2008 +0100

    Fix rake abort when there is a matching confine
    
    Signed-off-by: Brice Figureau <brice-puppet at daysofwonder.com>

diff --git a/test/lib/puppettest/runnable_test.rb b/test/lib/puppettest/runnable_test.rb
index 6dab1b7..977dba4 100644
--- a/test/lib/puppettest/runnable_test.rb
+++ b/test/lib/puppettest/runnable_test.rb
@@ -17,10 +17,10 @@ module PuppetTest
         # Evaluate all of our tests to see if any of them are false
         # and thus whether this test is considered not runnable.
         def runnable?
+            @messages ||= []
             if superclass.respond_to?(:runnable?) and ! superclass.runnable?
                 return false
             end
-            @messages ||= []
             return false unless @messages.empty?
             return true unless defined? @confines
             @confines.find_all do |message, result|

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list