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

25 lines, 8 significant
1# spec/ysh-stdlib
2
3## our_shell: ysh
4
5#### smoke test for two.sh
6
7source --builtin osh/two.sh
8
9log 'hi'
10
11set +o errexit
12( die "bad" )
13echo status=$?
14
15## STDOUT:
16status=1
17## END
18
19#### smoke test for stream.ysh and table.ysh
20
21source $LIB_YSH/stream.ysh
22source $LIB_YSH/table.ysh
23
24## status: 0
25