diff options
Diffstat (limited to 'testsuite/find.tests')
-rwxr-xr-x | testsuite/find.tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/find.tests b/testsuite/find.tests index 138236c81..d763ca6f2 100755 --- a/testsuite/find.tests +++ b/testsuite/find.tests | |||
@@ -28,6 +28,12 @@ testing "find -exec exitcode 2" \ | |||
28 | "0\n" \ | 28 | "0\n" \ |
29 | "" "" | 29 | "" "" |
30 | SKIP= | 30 | SKIP= |
31 | optional FEATURE_FIND_EXEC_OK | ||
32 | testing "find -ok" \ | ||
33 | "cd find.tempdir && find testfile -ok true {} ';' 2>&1; echo \$?" \ | ||
34 | "true testfile ?0\n" \ | ||
35 | "" "y" | ||
36 | SKIP= | ||
31 | # Surprisingly, "-exec false ;" results in exitcode 0! "-exec false +" is different!!! | 37 | # Surprisingly, "-exec false ;" results in exitcode 0! "-exec false +" is different!!! |
32 | optional FEATURE_FIND_EXEC | 38 | optional FEATURE_FIND_EXEC |
33 | testing "find -exec exitcode 3" \ | 39 | testing "find -exec exitcode 3" \ |