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