[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:31:20 UTC 2010


The following commit has been merged in the upstream branch:
commit 2a2ab759674a1f748e20c1c075d01cb74a4328d2
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Wed Apr 7 10:48:58 2010 -0700

    Fix test failures due to name changes of event symbols

diff --git a/test/other/transactions.rb b/test/other/transactions.rb
index 255897a..baf6def 100755
--- a/test/other/transactions.rb
+++ b/test/other/transactions.rb
@@ -237,7 +237,7 @@ class TestTransactions < Test::Unit::TestCase
         # set up.
         config = mk_catalog(file, exec)
 
-        trans = assert_events([:file_changed, :triggered], config)
+        trans = assert_events([:mode_changed, :restarted], config)
 
         assert(FileTest.exists?(execfile), "Execfile does not exist")
         File.unlink(execfile)
@@ -245,7 +245,7 @@ class TestTransactions < Test::Unit::TestCase
             file[:group] = @groups[1]
         }
 
-        trans = assert_events([:file_changed, :triggered], config)
+        trans = assert_events([:group_changed, :restarted], config)
         assert(FileTest.exists?(execfile), "Execfile does not exist")
     end
 
@@ -286,7 +286,7 @@ class TestTransactions < Test::Unit::TestCase
             file[:mode] = "755"
         }
 
-        trans = assert_events([:file_changed, :file_changed, :triggered], config)
+        trans = assert_events([:group_changed, :mode_changed, :restarted], config)
     end
 
     # Make sure that multiple subscriptions get triggered.
@@ -377,7 +377,7 @@ class TestTransactions < Test::Unit::TestCase
 
         file[:content] = "some content"
 
-        assert_events([:file_changed, :triggered], config)
+        assert_events([:content_changed, :restarted], config)
 
         assert(FileTest.exists?(fname), "File did not get recreated")
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list