aboutsummaryrefslogtreecommitdiffstats
path: root/test/fileutils/test_fileutils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/fileutils/test_fileutils.rb')
-rw-r--r--test/fileutils/test_fileutils.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index 1efc371c55..dfe914dc69 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -445,7 +445,7 @@ class TestFileUtils < Test::Unit::TestCase
File.symlink 'tmp/src/dir', 'tmp/src/a'
cp_r 'tmp/src', 'tmp/dest/', remove_destination: true
cp_r 'tmp/src', 'tmp/dest/', remove_destination: true
- end
+ end if have_symlink?
def test_mv
check_singleton :mv
@@ -1453,7 +1453,7 @@ class TestFileUtils < Test::Unit::TestCase
touch 'tmp/src'
copy_entry 'tmp/src', 'tmp/dest', false, false, true
assert_file_exist 'tmp/dest'
- end
+ end if have_symlink?
def test_copy_file
check_singleton :copy_file