summaryrefslogtreecommitdiffstats
path: root/spec/unit/util/autoload.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-01-01 23:28:19 -0800
committerJames Turnbull <james@lovedthanlost.net>2010-01-02 19:51:06 +1100
commitcbc2ef003d93e5162979cebc927b5d9a69397439 (patch)
tree84ac2d7ebe191bd34d45f0845bc9a0738931f331 /spec/unit/util/autoload.rb
parentfd631b9945cf33a1e5af849900cf6219b050e321 (diff)
downloadpuppet-cbc2ef003d93e5162979cebc927b5d9a69397439.tar.gz
puppet-cbc2ef003d93e5162979cebc927b5d9a69397439.tar.xz
puppet-cbc2ef003d93e5162979cebc927b5d9a69397439.zip
Partial rollback of refinements to fix for #2994
The fix for #2994 had been refined to only checksum links when @links was set to :follow to make the tests pass, but this caused partial reintroduction of the original issue since information about the source (the real file vs. followed link distinction) isn't available client side and thus there are paths on which @links winds up :managed when it had originally been :followed. In these cases the checksum is needed but not produced. Consequently, this patch relaxes the condition, and always tries to produce a checksum, with a rescue guard to gracefully handle cases where this is not possible (e.g. broken links).
Diffstat (limited to 'spec/unit/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions