Results for ysh-options.test.sh

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

Details on runs that didn't PASS

osh-cpp11 osh -O oil:upgrade

[osh-cpp stdout] Expected 'one\ntwo\nthree\n', got ''
[osh-cpp status] Expected 0, got 1

stdout:
stderr: 
  var x = %(one two three); write @x
                                  ^~
[ -c flag ]:1: fatal: Can't splice 'x'
osh-cpp23 parse_brace case

[osh-cpp stdout] Expected 'python\nshell\npython\nshell\n', got ''
[osh-cpp status] Expected 0, got 1

stdout:
stderr: 
  for name in "${files[@]}" ; do
                 ^~~~~
[ stdin ]:4: fatal: Undefined array 'files'
osh-cpp24 parse_paren: if statement

[osh-cpp stdout] Expected 'less\nless\nother\n', got 'other\n'

stdout:
other
stderr:
osh-cpp25 parse_paren: while statement

[osh-cpp stdout] Expected '1\n2\ndone ksh\n1\n2\ndone sh\n1\n2\ndone oil\n', got ''
[osh-cpp status] Expected 0, got 1

stdout:
stderr: 
  while (( x < 3 )) {
           ^
[ stdin ]:4: fatal: Undefined variable 'x'