summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJacob Helwig <jacob@puppetlabs.com>2011-08-02 10:23:08 -0700
committerJacob Helwig <jacob@puppetlabs.com>2011-08-19 13:52:58 -0700
commit2efaa855e9ef9079342ba041c103832313696582 (patch)
tree5db4b34843aacbdb4d535c53d90c95d4abbc5ffa /spec
parent7259e1e5877b81dc5fd9b6ff090a4cccfc37c2f4 (diff)
downloadpuppet-2efaa855e9ef9079342ba041c103832313696582.tar.gz
puppet-2efaa855e9ef9079342ba041c103832313696582.tar.xz
puppet-2efaa855e9ef9079342ba041c103832313696582.zip
Disable symlink related file tests on Windows
While Windows filesystems typically have support for symlinks (NTFS), there are no immediate plans to support symlinks on Windows. Reviewed-by: Nick Lewis <nick@puppetlabs.com> (cherry picked from commit 207d41f798356d7001f5de971e118e3c33d5f6d1)
Diffstat (limited to 'spec')
-rwxr-xr-xspec/integration/type/file_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/type/file_spec.rb b/spec/integration/type/file_spec.rb
index 241861cc5..7d6bceb18 100755
--- a/spec/integration/type/file_spec.rb
+++ b/spec/integration/type/file_spec.rb
@@ -73,7 +73,7 @@ describe Puppet::Type.type(:file) do
File.read(file[:path]).should == "bar\n"
end
- it "should not backup symlinks", :fails_on_windows => true do
+ it "should not backup symlinks", :unless => Puppet.features.microsoft_windows? do
link = tmpfile("link")
dest1 = tmpfile("dest1")
dest2 = tmpfile("dest2")
@@ -214,7 +214,7 @@ describe Puppet::Type.type(:file) do
end
end
- it "should be able to recursively make links to other files", :fails_on_windows => true do
+ it "should be able to recursively make links to other files", :unless => Puppet.features.microsoft_windows? do
source = tmpfile("file_link_integration_source")
build_path(source)