aboutsummaryrefslogtreecommitdiff
path: root/tests/name/cross.test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-17 14:50:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-17 14:50:49 +0200
commitee64fadec760e28945808720271866a3be4935e1 (patch)
treee40b3a40b9512f283554867435c4806174d72a38 /tests/name/cross.test
parentb936faf3601ea2f1d89dbe3472f9f2e54eda97e7 (diff)
Add tests for multi-pattern crosses seeing that we use them
Diffstat (limited to 'tests/name/cross.test')
-rw-r--r--tests/name/cross.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/name/cross.test b/tests/name/cross.test
index 04da551..3847b6a 100644
--- a/tests/name/cross.test
+++ b/tests/name/cross.test
@@ -102,6 +102,12 @@ EOI
{
touch x.foo y.bar;
$* <'print {foo bar}{*}' >'foo{x} bar{y}'
+
+ mkdir dir && touch dir/x.foo;
+ $* <'print {*/}{*.foo}' >'dir/x.foo'
+
+ mkdir dir && touch dir/x.foo;
+ $* <'print {*/}{foo}{*}' >'dir/foo{x}'
}
# @@ TODO: nested replay.