Seth Vargo
fb60d34236
Add unique names to all tmpdir and tempfile calls in tests + cleanup
...
This commit attempts to uniquely identify the temporary files and
directories that are created during test runs. Where it was a quick
fix, this commit also removes the temporary files and directories.
There are still a ton of temporary files due to calls to
.isolated_environment in the tests without an easy API an easy way
to provide a closer to that function.
2016-05-28 23:22:34 -04:00
Mitchell Hashimoto
fafd8b8986
more passing tests on Windows
2015-11-20 15:09:17 -08:00
Mitchell Hashimoto
37e9553bf5
core: don't use Tempdir for tests, use Dir.mktmpdir
...
Tempdir didn't work on Windows, just spun forever.
2014-01-15 10:48:19 -08:00
Mitchell Hashimoto
f26024f771
Test Tempdir class cleans itself up
2012-06-24 00:03:28 -07:00
Mitchell Hashimoto
919f7adaa3
Port collision with SSH test.
2011-12-24 22:25:02 -08:00
Mitchell Hashimoto
42a5e02db4
Clean up test load paths
2011-12-11 15:53:11 -08:00
Mitchell Hashimoto
99982fb26e
VM-specific configuration now works.
2011-12-03 19:05:50 -08:00
Mitchell Hashimoto
bae6c57230
Expose test helpers [closes GH-162]
2010-09-15 09:19:38 -06:00
Mitchell Hashimoto
0ee21998f6
New BoxCollection class to keep track of all boxes.
2010-09-11 10:17:26 -07:00
Mitchell Hashimoto
3cca2f1bb4
Config loading test is now powered by real Vagrantfiles, rather than mocks
2010-09-07 11:30:48 -07:00
Mitchell Hashimoto
5f6e3acf40
Require root path on environment load
2010-09-07 10:52:58 -07:00
Mitchell Hashimoto
f85401481b
Create the tmp path when running tests so they pass
2010-09-06 18:29:49 -07:00
Mitchell Hashimoto
f24094bba8
Converted more tests to new vagrant env helpers and removed unused code in ResourceLogger
2010-09-04 10:47:22 -07:00
Mitchell Hashimoto
260f1dcec4
Refined some tests to use real Vagrantfiles instead of mocks
2010-09-03 19:25:48 -07:00