From 3ca3b89b407ffa1a70d863c3d450dee2fa31ddb7 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 8 Jun 2017 20:06:06 +0300 Subject: Add full support for pattern exclusions --- tests/name/pattern.test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/name') diff --git a/tests/name/pattern.test b/tests/name/pattern.test index 6606d86..9eff855 100644 --- a/tests/name/pattern.test +++ b/tests/name/pattern.test @@ -95,8 +95,9 @@ EOI touch foo.txt bar.txt; $* <'print {*.txt -bar.txt}' >'foo.txt' : exclude-match - touch foo.txt bar.txt; - $* <'print {*.txt -b*.txt}' >'foo.txt' : exclude-pattern + mkdir baz; + touch foo.txt bar.txt baz/fox.txt baz/box.txt; + $* <'print {**.txt -b*.txt -b*/*}' >'foo.txt' : exclude-pattern touch foo.txt bar.txt baz.txt; $* <'print {*.txt -{*z.txt bar.txt}}' >'foo.txt' : exclude-group -- cgit v1.1