diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-06-09 18:37:58 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-06-09 18:37:58 -0400 |
commit | cad5dc5cc50a43203971939fd2806bfbf9a5dac9 (patch) | |
tree | e42db8dbef9c6896945473668534c709f7165b5f /tests.sh | |
parent | ea92e8e4b24ea749e73bc6e9bc17371b07c723a3 (diff) | |
download | bfs-cad5dc5cc50a43203971939fd2806bfbf9a5dac9.tar.xz |
Allow flags like -L before ',' or ')' as pathnames.
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -344,6 +344,21 @@ function test_0061() { } function test_0062() { + cd "$weirdnames" + find_diff -L '-' '(-' '!-' ',' ')' './(' './!' \( \! -print , -print \) +} + +function test_0063() { + cd "$weirdnames" + find_diff -L ',' -true +} + +function test_0064() { + cd "$weirdnames" + find_diff -follow ',' -true +} + +function test_0065() { find "$basic" -fprint "$out/out.find" "$BFS" "$basic" -fprint "$out/out.bfs" @@ -352,7 +367,7 @@ function test_0062() { diff -u "$out/out.find" "$out/out.bfs" } -for i in {1..62}; do +for i in {1..65}; do test="test_$(printf '%04d' $i)" ("$test" "$dir") status=$? |