Results for here-doc.test.sh

statusoshosh-cpp
pass 3333
ok 11
total3434
caseoshosh-cppdescription
0pass pass Here string
1pass pass Here string with $
2pass pass Here redirect with explicit descriptor
3pass pass Here doc from another input file descriptor
4pass pass Multiple here docs with different descriptors
5ok ok Here doc with bad var delimiter
detailsdetails
6pass pass Here doc with bad comsub delimiter
7pass pass Here doc and < redirect -- last one wins
8pass pass < redirect and here doc -- last one wins
9pass pass Here doc with var sub, command sub, arith sub
10pass pass Here doc in middle. And redirects in the middle.
11pass pass Here doc line continuation
12pass pass Here doc with quote expansion in terminator
13pass pass Here doc with multiline double quoted string
14pass pass Two here docs -- first is ignored; second ones wins!
15pass pass Here doc with line continuation, then pipe. Syntax error.
16pass pass Here doc with pipe on first line
17pass pass Here doc with pipe continued on last line
18pass pass Here doc with builtin 'read'
19pass pass Compound command here doc
20pass pass Here doc in while condition and here doc in body
21pass pass Here doc in while condition and here doc in body on multiple lines
22pass pass Here doc in while loop split up more
23pass pass Mixing << and <<-
24pass pass Two compound commands with two here docs
25pass pass Function def and execution with here doc
26pass pass Here doc as command prefix
27pass pass Redirect after here doc
28pass pass here doc stripping tabs
29pass pass Here doc within subshell with boolean
30pass pass Here Doc in if condition
31pass pass Nested here docs which are indented
32pass pass Multiple here docs in pipeline
33pass pass Multiple here docs in pipeline on multiple lines
66 passed, 2 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh5 Here doc with bad var delimiter

stdout:
stderr: 
  cat <<${a}
        ^~
[ stdin ]:1: Invalid here doc delimiter
osh-cpp5 Here doc with bad var delimiter

stdout:
stderr: 
  cat <<${a}
        ^~
[ stdin ]:1: Invalid here doc delimiter