diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-05-22 13:17:02 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-05-22 13:17:02 -0400 |
commit | 8ea44cab76a20f1c5ac473b1651611bea0ee9e6b (patch) | |
tree | cd2d47aef86e6ce8fa0fd49a3baa6a5709aba8ae /tests.sh | |
parent | a36577183430607196e88c2b951f2dc71a06dbaf (diff) | |
download | bfs-8ea44cab76a20f1c5ac473b1651611bea0ee9e6b.tar.xz |
Implement -{exec,ok}{,dir}.
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -283,7 +283,27 @@ function test_0053() { find_diff "$basic" -size 9223372036854775807 } -for i in {1..53}; do +function test_0054() { + find_diff "$basic" -exec echo '{}' ';' +} + +function test_0055() { + find_diff "$basic" -exec echo '-{}-' ';' +} + +function test_0056() { + find_diff "$basic" -execdir pwd ';' +} + +function test_0057() { + find_diff "$basic" -execdir echo '{}' ';' +} + +function test_0058() { + find_diff "$basic" -execdir echo '-{}-' ';' +} + +for i in {1..58}; do test="test_$(printf '%04d' $i)" "$test" "$dir" status=$? |