aboutsummaryrefslogtreecommitdiff
path: root/tests/name
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-08 20:06:06 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-08 20:06:45 +0300
commit3ca3b89b407ffa1a70d863c3d450dee2fa31ddb7 (patch)
tree79269c7be086608ccfd6f85cfae399cab24de2c6 /tests/name
parentd52de69d635ce3fc840fc15b9db4f395d0763aed (diff)
Add full support for pattern exclusions
Diffstat (limited to 'tests/name')
-rw-r--r--tests/name/pattern.test5
1 files changed, 3 insertions, 2 deletions
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