aboutsummaryrefslogtreecommitdiff
path: root/tests/expansion/concat.testscript
blob: 181a7387ac036d9cc35ff2ba947909c3ccc0dfa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# file      : tests/expansion/type.testscript
# license   : MIT; see accompanying LICENSE file

# Test concatenated expansion.

.include ../common.testscript

: typed-exceptions
:
$* <<EOI >>/EOO
d = [dir_path] dir
s = [string] foo

print $d/{bar}
print $s{bar}
print $d/$s{bar}
print file{x$s}
print $d/{x$s}
print prj%{x$s}
EOI
dir/bar
foo{bar}
dir/foo{bar}
file{xfoo}
dir/xfoo
prj%xfoo
EOO