Age | Commit message (Collapse) | Author | Files | Lines |
|
Two of the new tests re: Uniquefile are not compatible with
windows. (In the ruby source tree, they are skipped on windows.)
This commit confines them to only run on unix.
|
|
This commit adds additional tests for the Uniquefile class. The
new tests are ported from the Ruby 1.9.3 source code for the
built-in `Tempfile` class, since that is what our `Uniquefile`
implementation is based on.
See: https://github.com/ruby/ruby/blob/v1_9_3_547/test/test_tempfile.rb
|
|
Since the new implementation of Puppet::FileSystem::Tempfile is
not trying to manage the deletion of files created through it,
the name was misleading. This commit simply changes the name
to Uniquefile to try to make it a bit more obvious that it is
not responsible for deleting the files.
|