Results for builtin-meta.test.sh

statusoshosh-cpp
pass 2222
FAIL 11
total2323
caseoshosh-cppdescription
0pass pass command -v
1pass pass command -v with multiple names
2pass pass command -v doesn't find non-executable file
3pass pass command -V
4pass pass command -V nonexistent
5pass pass command skips function lookup
6pass pass command command seq 3
7pass pass command command -v seq
8pass pass command -p (override existing program)
9pass pass command -p (hide tool in custom path)
10pass pass command -p (find hidden tool in default path)
11pass pass $(command type ls)
12pass pass builtin
13pass pass builtin ls not found
14pass pass builtin no args
15pass pass builtin command echo hi
16pass pass builtin typeset / export / readonly
17pass pass builtin declare / local
18FAIL FAIL builtin declare etc. with array is not parsed
detailsdetails
19pass pass command export / readonly
20pass pass command local
21pass pass static builtin command ASSIGN, command builtin ASSIGN
22pass pass dynamic builtin command ASSIGN, command builtin ASSIGN
44 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

osh18 builtin declare etc. with array is not parsed

[osh stdout] Expected 'fail\nfail\n', got 'fail\n'

stdout:
fail
stderr:
  builtin declare -a a=(x y)
                  ^~
[ -c flag ]:1: fatal: Assignment builtin expected NAME=value, got '-a'
osh-cpp18 builtin declare etc. with array is not parsed

[osh-cpp stdout] Expected 'fail\nfail\n', got 'fail\n'

stdout:
fail
stderr:
  builtin declare -a a=(x y)
                  ^~
[ -c flag ]:1: fatal: Assignment builtin expected NAME=value, got '-a'