From 8896f35294649975c1df22a8b57db4333cc56091 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 7 Jun 2020 16:37:53 -0400 Subject: parse: Prohibit actions inside -exclude --- tests.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 77a5da1..88b6988 100755 --- a/tests.sh +++ b/tests.sh @@ -601,6 +601,7 @@ bfs_tests=( test_exclude_name test_exclude_depth test_exclude_mindepth + test_exclude_print # Primaries @@ -2653,6 +2654,10 @@ function test_exclude_mindepth() { bfs_diff basic -mindepth 3 -exclude -name foo } +function test_exclude_print() { + ! invoke_bfs basic -exclude -print 2>/dev/null +} + BOL= EOL='\n' -- cgit v1.2.3