coreutils/tests
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
..
common tests: Create the ScopedFile type for temporary files in tests 2016-03-27 14:34:59 -07:00
fixtures Add a test for tail -c <BYTES> from stdin 2016-03-26 11:56:00 -07:00
base64.rs base64: tests for incorrect wrap args 2016-02-16 16:47:09 -05:00
basename.rs basename: tests for bad inputs 2016-02-16 16:47:09 -05:00
cat.rs tests/cat: --squeeze-blank test 2016-02-17 08:06:32 +01:00
chmod.rs chmod: fix reference option 2016-03-10 20:34:49 +01:00
cksum.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
comm.rs comm: additional tests and status/stderr checking for existing tests 2016-02-22 09:59:06 -05:00
cp.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
cut.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
dirname.rs dirname: add some tests 2015-12-21 11:17:37 +01:00
echo.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
env.rs tests/env: don't assume vars are ordered 2015-12-22 12:44:05 +01:00
expr.rs expr: add basic tests 2015-12-22 14:10:43 +01:00
factor.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
false.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
fold.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
hashsum.rs Split utility files into separate library. 2015-11-24 22:20:27 -05:00
head.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
link.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
ln.rs more ergonomic testing 2016-02-18 13:24:36 -05:00
mkdir.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
mktemp.rs tests/mktemp: fix build on nightly 2016-02-14 03:31:10 +01:00
mv.rs more ergonomic testing 2016-02-18 13:24:36 -05:00
nl.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
paste.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
printf.rs allow feature-gated integration tests for unimplemented functionality 2016-02-15 23:48:37 -05:00
ptx.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
pwd.rs tests: fix tests that broke when using a symlinked /tmp 2016-01-10 02:50:39 -08:00
readlink.rs tests: fix tests that broke when using a symlinked /tmp 2016-01-10 02:50:39 -08:00
realpath.rs tests: fix tests that broke when using a symlinked /tmp 2016-01-10 02:50:39 -08:00
rm.rs more ergonomic testing 2016-02-18 13:24:36 -05:00
rmdir.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
seq.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
sort.rs tests/sort: fix flag for human numeric test 2016-03-25 16:55:58 -04:00
split.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
stdbuf.rs tests/stdbuf: disable on non-linux os 2015-12-22 12:55:51 +01:00
sum.rs sum: fix sysv_stdin testcase 2015-11-25 09:58:58 +01:00
tac.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
tail.rs Add a test for tail -c <BYTES> from stdin 2016-03-26 11:56:00 -07:00
test.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
touch.rs tests/touch: fix tests 2016-01-02 09:55:20 +01:00
tr.rs more ergonomic testing 2016-02-18 13:24:36 -05:00
true.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
truncate.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
tsort.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
unexpand.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
uniq.rs uniq: add tests 2016-02-29 11:07:16 +05:30
unlink.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00
wc.rs rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00