Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-04-28 | tests: don't chmod after a failed chdir in cleanup | Bo Borgerson | |
* tests/CuTmpdir.pm (chmod_tree): Don't chmod if chdir failed. Signed-off-by: Bo Borgerson <gigabo@gmail.com> | |||
2008-04-28 | Only cleanup test dirs from the process that created them. | Bo Borgerson | |
* tests/CuTmpdir.pm (import): Use closure around current PID to avoid cleanup races. Signed-off-by: Bo Borgerson <gigabo@gmail.com> | |||
2008-04-27 | tests: improve perl-based tempdir handling | Jim Meyering | |
Before, upon interrupt, directories would be left behind. * tests/CuTmpdir.pm: Remove temporary directory on interrupt. | |||
2007-11-30 | Include test name in the "unsafe working directory name" diagnostic. | Jim Meyering | |
* tests/CuTmpdir.pm (import): If $ME is '-', use $prefix. | |||
2007-11-30 | * tests/CuTmpdir.pm (END): Do not do the cleanup if $dir is not | Ralf Wildenhues | |
defined, because it then goes wild and changes the mode of all directories below $HOME. Undefined $dir can happen if the test is to be skipped because of an unsafe working directory name. | |||
2007-09-16 | tests/CuTmpdir.pm: Use File::Find + chmod syscall, not chmod -R. | Jim Meyering | |
Signed-off-by: Jim Meyering <jim@meyering.net> | |||
2007-08-18 | Run each Coreutils.pm-based test in its own subdirectory. | Jim Meyering | |
* tests/CuTmpdir.pm: New file. * tests/Makefile.am (EXTRA_DIST): Add CuTmpdir.pm. * tests/misc/od, tests/misc/base64, tests/misc/basename: * tests/misc/cut, tests/misc/date, tests/misc/dirname: * tests/misc/expand, tests/misc/fold, tests/misc/head-elide-tail: * tests/misc/paste-no-nl, tests/misc/pr, tests/misc/sha224sum: * tests/misc/sha256sum, tests/misc/sha384sum, tests/misc/sha512sum: * tests/misc/sort-merge, tests/misc/stat-printf, tests/misc/test-diag: * tests/misc/wc-files0-from, tests/misc/xstrtol: * tests/dd/skip-seek, tests/dircolors/simple, tests/du/files0-from: * tests/expr/basic, tests/factor/basic, tests/fmt/basic: * tests/ls-2/tests, tests/md5sum/basic-1, tests/md5sum/newline-1: * tests/seq/basic, tests/sha1sum/basic-1, tests/sha1sum/sample-vec: * tests/sum/basic-1, tests/tsort/basic-1, tests/unexpand/basic-1: * tests/mv/i-1, tests/rm/empty-name, tests/rm/unreadable: Use it. * tests/misc/test-diag: Use "$ENV{abs_top_builddir}/src/test", not "../../src/test", so it works when run from a subdirectory. * tests/ls-2/tests: Create temp files and dirs from within the perl script, so that they're removed, when run from a subdirectory. |