diff options
author | Markus Roberts <Markus@reality.com> | 2009-08-06 14:52:16 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-08-13 08:07:23 +1000 |
commit | 63cb1ade80187ebc6f7f24c74e4d1e4db53422c1 (patch) | |
tree | 7c2a53d59be84d9aa9c4466d61edc23589cc4b25 /spec/integration/util/autoload.rb | |
parent | c129f2a15fdccc12baa3d929531221cbade7ff10 (diff) | |
download | puppet-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