Results for ysh-options.test.sh

statusosh
pass 39
FAIL 1
total40
caseoshdescription
0pass simple_word_eval doesn't split, glob, or elide empty
1pass simple_word_eval and strict_array conflict over globs
2pass simple_word_eval and glob
3pass parse_at
4pass parse_at can't be used outside top level
5pass sourcing a file that sets parse_at
6pass parse_at can be specified through sh -O
7pass @a splices into $0
8FAIL shopt -s strict:all
details
9pass shopt -s ysh:upgrade
10pass osh -O oil:upgrade
11pass osh -O errexit: use -O everywhere, even for Bourne options
12pass osh -O invalid
13pass osh -o new_option is also accepted
14pass oil:upgrade includes inherit_errexit
15pass parse_brace: bad block to assignment builtin
16pass parse_brace: bad block to external program
17pass parse_brace: cd { } in pipeline
18pass parse_brace: if accepts blocks
19pass parse_brace: brace group in if condition
20pass parse_brace: while/until
21pass parse_brace: for-in loop
22pass parse_brace case
23pass parse_paren: if statement
24pass parse_paren: while statement
25pass while subshell without parse_paren
26pass nullglob is on with oil:upgrade
27pass nullglob is on with oil:all
28pass shopt -s simple_echo
29pass shopt -s dashglob
30pass shopt -s oil:upgrade turns some options on and others off
31pass sigpipe_status_ok
32pass printf | head regression (sigpipe_status_ok)
33pass Shell functions can't be refined with YSH (redefine_proc_func off)
34pass redefine_proc for procs
35pass redefine_proc is on in interactive shell
36pass redefine_module is on in interactive shell
37pass parse options in sourced file (bug #1628)
38pass expand_aliases turned off only in ysh:all
39pass [[ isn't allowed in ysh
39 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh8 shopt -s strict:all

[osh stdout] Expected 'shopt -s strict_argv\nshopt -s strict_arith\nshopt -s strict_array\nshopt -s strict_control_flow\nshopt -s strict_errexit\nshopt -s strict_glob\nshopt -s strict_nameref\nshopt -s strict_tilde\nshopt -s strict_word_eval\n' Got 'shopt -s strict_argv\nshopt -s strict_arith\nshopt -s strict_array\nshopt -s strict_control_flow\nshopt -s strict_errexit\nshopt -s strict_glob\nshopt -s strict_nameref\nshopt -s strict_parse_slice\nshopt -s strict_tilde\nshopt -s strict_word_eval\n'

stdout:
shopt -s strict_argv
shopt -s strict_arith
shopt -s strict_array
shopt -s strict_control_flow
shopt -s strict_errexit
shopt -s strict_glob
shopt -s strict_nameref
shopt -s strict_parse_slice
shopt -s strict_tilde
shopt -s strict_word_eval
stderr: