summaryrefslogtreecommitdiffstats
path: root/spec/integration/util/autoload.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2009-08-06 14:52:16 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-08-13 08:07:23 +1000
commit63cb1ade80187ebc6f7f24c74e4d1e4db53422c1 (patch)
tree7c2a53d59be84d9aa9c4466d61edc23589cc4b25 /spec/integration/util/autoload.rb
parentc129f2a15fdccc12baa3d929531221cbade7ff10 (diff)
downloadpuppet-63cb1ade80187ebc6f7f24c74e4d1e4db53422c1.tar.gz
puppet-63cb1ade80187ebc6f7f24c74e4d1e4db53422c1.tar.xz
puppet-63cb1ade80187ebc6f7f24c74e4d1e4db53422c1.zip
Fixes #2503
Added a random suffex to the temporary file name and verify that the name is not in use (retry on collison). No additional tests added as the lifetime of the temporary file is bound by the routine, making spec driven tests impraticable. Includes logic to account for dead-end symlinks as well, as per Luke. Signed-off-by: Markus Roberts <Markus@reality.com>
Diffstat (limited to 'spec/integration/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions