OILS / spec / ysh-bin.test.sh View on Github | oilshell.org

19 lines, 7 significant
1# Smoke test for the bin/ysh binary
2
3## our_shell: ysh
4
5#### Array func
6write @[split('foo bar')]
7## STDOUT:
8foo
9bar
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:
17shopt -s parse_paren
18shopt -u parse_paren
19## END