diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-03-12 03:19:53 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-03-12 03:19:53 +0000 |
| commit | d7a75c5289c257d2b6782976e494efe81f04478b (patch) | |
| tree | 1c7ec7c3d3feca91b3ddc8d304bb355d6ae00a18 /test | |
| parent | f2c821803c7f6df2394990432c0a549ddb6ca73c (diff) | |
Fixing small bug in symlink recursion
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1015 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
| -rwxr-xr-x | test/types/symlink.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/types/symlink.rb b/test/types/symlink.rb index eb6b9a04d..ace726ac5 100755 --- a/test/types/symlink.rb +++ b/test/types/symlink.rb @@ -82,7 +82,8 @@ class TestSymlink < Test::Unit::TestCase FileUtils.cd(path) { list.each { |file| unless FileTest.directory?(file) - assert(FileTest.symlink?(file)) + assert(FileTest.symlink?(file), "file %s is not a symlink" % + file) target = File.readlink(file) assert_equal(target,File.join(source,file.sub(/^\.\//,''))) end |
