apenwarr-redo/t/clean.do
Avery Pennarun 686c381109 Fix more inconsistent behaviour with symlinks in paths.
Both redo and minimal/do were doing slightly weird things with
symlinked directories, especially when combined with "..".  For
example, if x is a link to ., then x/x/x/x/../y should resolve to
"../y", which is quite non-obvious.

Added some tests to make sure this stays fixed.
2018-12-17 16:17:37 +00:00

7 lines
213 B
Text

/bin/ls [0-9s][0-9][0-9]*/clean.do |
sed 's/\.do$//' |
xargs redo
rm -f broken shellfile shellfail shelltest.warned shelltest.failed shlink \
*~ .*~ stress.log flush-cache 'symlink path'
rm -rf 'space home dir'