Joseph Crail
91df9b14da
tests: remove unused method
2016-03-28 23:25:50 -04:00
Joseph Crail
7d103a0a64
tests: fix whitespace
2016-03-28 23:25:26 -04:00
Joseph Crail
1fecba3226
tests/{readlink, realpath}: fix tests on Windows
...
I fixed the tests that assumed paths used a Unix directory separator.
2016-03-28 23:24:40 -04:00
Heather
c954b01aa3
Merge pull request #854 from fitzgen/tests-for-tail-bytes
...
Miscellaneous `tail` related commits
2016-03-28 09:05:48 +04:00
Nick Fitzgerald
a629bb3076
tests: Create the ScopedFile
type for temporary files in tests
...
This commit adds the `ScopedFile` type, which wraps and derefs to a `File`. When
a `ScopedFile` is dropped, it removes the underlying file from the
filesystem. This is useful for temporary, generated files in tests.
2016-03-27 14:34:59 -07:00
Joseph Crail
ec14be84aa
tests/pwd: fix broken Windows test
...
Due to canonicalize()'s use of GetFinalPathNameByHandleW() on Windows,
the resolved path starts with '\\?\' to extend the limit of a given path
to 32,767 wide characters.
To address this issue, we remove this prepended string if available.
2016-03-27 03:28:55 -04:00
Nathan Ross
5e764ecf6e
more ergonomic testing
2016-02-18 13:24:36 -05:00
Leonid Shalupov
1ae82193f0
tests: do not remove %SYSTEMROOT% from environment variables, it's required to initialize crypto provider (which is required for std::rand)
2016-02-14 16:34:39 +01:00
Arcterus
49d0815588
tests: fix tests that broke when using a symlinked /tmp
2016-01-10 02:50:39 -08:00
Arcterus
d9ad0b185a
tests: fix tests that were failing on OS X
2016-01-10 00:09:05 -08:00
Michael Gehring
830ca8c04d
tests: add UCommand::env()
2016-01-03 14:24:15 +01:00
Nathan Ross
83295f1e08
appveyor and windows testing tooling updates
2015-12-23 22:59:04 -05:00
Nathan Ross
a21c54e2cd
rewrite tests for cargo compat, decoupled directory, output handling
2015-11-23 02:04:15 -05:00