diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-10-01 11:39:18 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-10-01 11:39:18 -0400 |
commit | eb9f3227a05102248243f57dd66d032298ea3d39 (patch) | |
tree | beebfaf449303268917b2a21eeaab22255fa8012 /tests.sh | |
parent | d1c441d3c80abfa6d6cb877270f200cc4edb6364 (diff) | |
download | bfs-eb9f3227a05102248243f57dd66d032298ea3d39.tar.xz |
tests: Add a test for an operator in an unexpected position
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -664,6 +664,8 @@ bfs_tests=( test_expr_flag_path test_expr_path_flag + test_unexpected_operator + test_typo # Flags @@ -3153,6 +3155,9 @@ function test_stderr_fails_loudly() { fi } +function test_unexpected_operator() { + ! quiet invoke_bfs \! -o -print +} BOL= EOL='\n' |