Results for ysh-xtrace.test.sh

statusoshosh-cpp
pass 2018
FAIL 02
total2020
caseoshosh-cppdescription
0pass pass Customize PS4
1pass pass no_xtrace_osh doesn't show [[ ]] etc.
2pass pass no_xtrace_osh UNSET, and xtrace_rich set
3pass pass proc and shell function
4pass pass eval
5pass pass source
6pass pass external and builtin
7pass pass subshell
8pass FAIL command sub
details
9pass FAIL process sub (nondeterministic)
details
10pass pass pipeline (nondeterministic)
11pass pass singleton pipeline
12pass pass Background pipeline (separate code path)
13pass pass Background process with fork and & (nondeterministic)
14pass pass Here doc
15pass pass Two here docs
16pass pass Here doc greater than 4096 bytes
17pass pass Control Flow
18pass pass use builtin and invokable module
19pass pass Encoded argv uses shell encoding, not J8
38 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh-cpp8 command sub

[osh-cpp stdout] Expected 'foo=bar\n' Got ''
[osh-cpp stderr] Expected " . 12345 builtin echo bar\n. builtin echo 'foo=bar'\n. builtin set '+x'\n; process 12345: status 0\n| command sub 12345\n" Got ' echo foo=$(echo bar)\n ^\n[ stdin ]:5: Invalid word while parsing command list\n'
[osh-cpp status] Expected 0 Got 2

stdout:
stderr: 
    echo foo=$(echo bar)
                       ^
[ stdin ]:5: Invalid word while parsing command list
osh-cpp9 process sub (nondeterministic)

[osh-cpp stdout] Expected '4\n3\n1\n' Got ''
[osh-cpp stderr] Expected " . 12345 builtin echo 1\n . 12345 exec seq 3 4\n. builtin ':' begin\n. builtin set '+x'\n; process 12345: status 0\n; process 12345: status 0\n; process 12345: status 0\n| command 12345: tac /dev/fd/N /dev/fd/N\n| proc sub 12345\n| proc sub 12345\n" Got ' tac <(seq 3 4) <(echo 1)\n ^\n[ stdin ]:8: Invalid word while parsing command list\n'
[osh-cpp status] Expected 0 Got 2

stdout:
stderr: 
    tac <(seq 3 4) <(echo 1)
                 ^
[ stdin ]:8: Invalid word while parsing command list