From 8ea44cab76a20f1c5ac473b1651611bea0ee9e6b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 22 May 2016 13:17:02 -0400 Subject: Implement -{exec,ok}{,dir}. --- tests.sh | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 006496b..8cf493c 100755 --- a/tests.sh +++ b/tests.sh @@ -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=$? -- cgit v1.2.3