1 # Smoke test for the bin/ysh binary
2
3 ## our_shell: ysh
4
5 #### Array func
6 write @[split('foo bar')]
7 ## STDOUT:
8 foo
9 bar
10 ## END
11
12
13 #### Options can be overridden
14 $[ENV.SH] -c 'shopt | grep parse_paren'
15 $[ENV.SH] +O parse_paren -c 'shopt | grep parse_paren'
16
17 ## STDOUT:
18 shopt -s parse_paren
19 shopt -u parse_paren
20 ## END