summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests.sh5
-rw-r--r--tests/test_exit_no_implicit_print.out0
2 files changed, 5 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index dd4f6ab..8b2bff2 100755
--- a/tests.sh
+++ b/tests.sh
@@ -358,6 +358,7 @@ bsd_tests=(
test_execdir_ulimit
test_exit
+ test_exit_no_implicit_print
test_flags
@@ -2724,6 +2725,10 @@ function test_exit() {
bfs_diff basic/g -print -name g -exit
}
+function test_exit_no_implicit_print() {
+ bfs_diff basic -not -name foo -o -exit
+}
+
function test_printx() {
bfs_diff weirdnames -printx
}
diff --git a/tests/test_exit_no_implicit_print.out b/tests/test_exit_no_implicit_print.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/test_exit_no_implicit_print.out