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 $SH -c 'shopt | grep parse_paren'
15 $SH +O parse_paren -c 'shopt | grep parse_paren'
16 ## STDOUT:
17 shopt -s parse_paren
18 shopt -u parse_paren
19 ## END