diff options
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -596,6 +596,12 @@ bfs_tests=( test_S_dfs test_S_ids + # Special forms + + test_exclude_name + test_exclude_depth + test_exclude_mindepth + # Primaries test_color @@ -2630,6 +2636,18 @@ function test_S_ids() { test_S ids } +function test_exclude_name() { + bfs_diff basic -exclude -name foo +} + +function test_exclude_depth() { + bfs_diff basic -depth -exclude -name foo +} + +function test_exclude_mindepth() { + bfs_diff basic -mindepth 3 -exclude -name foo +} + BOL= EOL='\n' |