Results for builtin-meta.test.sh

statusoshosh-cpp
pass 2525
ok 11
FAIL 11
total2727
caseoshosh-cppdescription
0pass pass command -v
1pass pass command -v executable
2pass pass command -v with multiple names
3pass pass command -v doesn't find non-executable file
4pass pass command -V
5pass pass command -V nonexistent
6pass pass command skips function lookup
7pass pass command command seq 3
8pass pass command command -v seq
9pass pass command -p (override existing program)
10pass pass command -p (hide tool in custom path)
11pass pass command -p (find hidden tool in default path)
12pass pass $(command type ls)
13pass pass builtin
14pass pass builtin ls not found
15pass pass builtin no args
16pass pass builtin command echo hi
17pass pass builtin typeset / export / readonly
18pass pass builtin declare / local
19ok ok builtin declare a=(x y) etc.
detailsdetails
20pass pass command export / readonly
21pass pass command local
22pass pass static builtin command ASSIGN, command builtin ASSIGN
23pass pass dynamic builtin command ASSIGN, command builtin ASSIGN
24pass pass Assignment builtins and word splitting, even after builtin/command
25pass pass More word splitting
26FAIL FAIL \builtin declare - ble.sh relies on it
detailsdetails
50 passed, 2 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh19 builtin declare a=(x y) etc.

stdout:
stderr: 
osh-cpp19 builtin declare a=(x y) etc.

stdout:
stderr: 
osh26 \builtin declare - ble.sh relies on it

[osh stdout] Expected 'a b\na b\n', got 'a b\n\n'

stdout:
a b

stderr:
  \command readonly z=$x
           ^~~~~~~~
[ stdin ]:6: Can't run assignment builtin recursively
osh-cpp26 \builtin declare - ble.sh relies on it

[osh-cpp stdout] Expected 'a b\na b\n', got 'a b\n\n'

stdout:
a b

stderr:
  \command readonly z=$x
           ^~~~~~~~
[ stdin ]:6: Can't run assignment builtin recursively