[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:34:27 UTC 2010


The following commit has been merged in the upstream branch:
commit d72fd9d8fcab489202831874186dae0ffce5a7d3
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Wed Jun 9 17:39:54 2010 -0700

    Confine out tests that fail on unix

diff --git a/spec/unit/type/file.rb b/spec/unit/type/file.rb
index 548fc1b..b7a27d1 100755
--- a/spec/unit/type/file.rb
+++ b/spec/unit/type/file.rb
@@ -209,6 +209,7 @@ describe Puppet::Type.type(:file) do
     end
 
     describe "when using Win32 filenames" do
+        confine "Only works on Win32" => Puppet.features.win32?
         describe "on Win32 systems" do
             before do
                 Puppet.features.stubs(:posix?).returns(false)
@@ -271,6 +272,7 @@ describe Puppet::Type.type(:file) do
 
     describe "when using UNC filenames" do
         describe "on Win32 systems" do
+            confine "Only works on Win32" => Puppet.features.win32?
             before do
                 Puppet.features.stubs(:posix?).returns(false)
                 Puppet.features.stubs(:win32?).returns(true)

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list