summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/tests.sh b/tests/tests.sh
index aec670a..7854a65 100755
--- a/tests/tests.sh
+++ b/tests/tests.sh
@@ -742,6 +742,9 @@ bfs_tests=(
test_expr_path_flag
test_unexpected_operator
+ test_and_incomplete
+ test_or_incomplete
+ test_comma_incomplete
test_typo
@@ -3359,6 +3362,18 @@ function test_unexpected_operator() {
fail invoke_bfs \! -o -print
}
+function test_and_incomplete() {
+ fail invoke_bfs -print -a
+}
+
+function test_or_incomplete() {
+ fail invoke_bfs -print -o
+}
+
+function test_comma_incomplete() {
+ fail invoke_bfs -print ,
+}
+
BOL='\n'
EOL='\n'