summaryrefslogtreecommitdiff
path: root/testsuite/find.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/find.tests')
-rwxr-xr-xtestsuite/find.tests6
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" \
"0\n" \
"" ""
SKIP=
+optional FEATURE_FIND_EXEC_OK
+testing "find -ok" \
+ "cd find.tempdir && find testfile -ok true {} ';' 2>&1; echo \$?" \
+ "true testfile ?0\n" \
+ "" "y"
+SKIP=
# Surprisingly, "-exec false ;" results in exitcode 0! "-exec false +" is different!!!
optional FEATURE_FIND_EXEC
testing "find -exec exitcode 3" \