diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-11-21 14:40:46 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-11-21 14:40:46 -0500 |
commit | fc98276e1401366fd91a437af3e7fa5f1471f94e (patch) | |
tree | 5758c00b122c2d7737e731a5ca3de6b356d6f725 /tests.sh | |
parent | cd09f52da8596295841cb832d84f0e728bff449d (diff) | |
download | bfs-fc98276e1401366fd91a437af3e7fa5f1471f94e.tar.xz |
Fix -execdir for /
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -522,7 +522,21 @@ function test_0097() { (cd scratch && "$BFS" -delete) } -for i in {1..97}; do +function test_0098() { + bfs_diff / -maxdepth 0 -execdir pwd ';' +} + +function test_0099() { + # Don't prepend ./ for absolute paths in -execdir + bfs_diff / -maxdepth 0 -execdir echo '{}' ';' +} + +function test_0100() { + # // is canonicalized to / + bfs_diff // -maxdepth 0 -execdir echo '{}' ';' +} + +for i in {1..100}; do test="test_$(printf '%04d' $i)" if [ -t 1 ]; then |