Results for ysh-bugs.test.sh

statusyshysh-cpp
pass 1515
FAIL 44
total1919
caseyshysh-cppdescription
0pass pass fastlex: NUL byte not allowed inside char literal #' '
1pass pass fastlex: NUL byte inside shebang line
2pass pass Tea keywords don't interfere with YSH expressions
3pass pass Catch AttributeError
4pass pass Command sub paren parsing bug (#1387)
5pass pass More Command sub paren parsing
6pass pass don't execute empty command
7FAIL FAIL Do && || with YSH constructs make sense/
detailsdetails
8pass pass shvar then replace - bug #1986 context manager crash
9pass pass Parsing crash - bug #2003
10pass pass proc with IFS= read -r line - dynamic scope - issue #2012
11FAIL FAIL func call inside proc call - error message attribution
detailsdetails
12pass pass Crash in parsing case on EOF condition - issue #2037
13pass pass Crash due to incorrect of context manager rooting - issue #1986
14pass pass crash due to arbitrary PNode limit - issue #2078
15pass pass bad assertion when pretty printing
16FAIL FAIL Another "stealing stdin" issue with spec tests
detailsdetails
17FAIL FAIL Long boolean flags can't have attached values
detailsdetails
18pass pass Bug: rooting of pgen2::PNode
30 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
4 failed under osh

Details on runs that didn't PASS

ysh7 Do && || with YSH constructs make sense/

[ysh stdout] Expected '', got '(List) [42]\n(Int) 42\n(Int) 42\n'

stdout:
(List)   [42]
(Int)   42
(Int)   42
stderr:
ysh-cpp7 Do && || with YSH constructs make sense/

[ysh-cpp stdout] Expected '', got '(List) [42]\n(Int) 42\n(Int) 42\n'

stdout:
(List)   [42]
(Int)   42
(Int)   42
stderr:
ysh11 func call inside proc call - error message attribution

[ysh stdout] Expected '', got " eval (ident([1,2,3]))\n ^\n[ -c flag ]:11: 'eval' got unexpected typed args\n eval (ident([1,2,3]))\n ^~~~\n[ -c flag ]:11: errexit PID 30441: Command failed with status 2\n"

stdout:
  eval (ident([1,2,3]))
       ^
[ -c flag ]:11: 'eval' got unexpected typed args
  eval (ident([1,2,3]))
  ^~~~
[ -c flag ]:11: errexit PID 30441: Command failed with status 2
stderr:
ysh-cpp11 func call inside proc call - error message attribution

[ysh-cpp stdout] Expected '', got " eval (ident([1,2,3]))\n ^\n[ -c flag ]:11: 'eval' got unexpected typed args\n eval (ident([1,2,3]))\n ^~~~\n[ -c flag ]:11: errexit PID 30460: Command failed with status 2\n"

stdout:
  eval (ident([1,2,3]))
       ^
[ -c flag ]:11: 'eval' got unexpected typed args
  eval (ident([1,2,3]))
  ^~~~
[ -c flag ]:11: errexit PID 30460: Command failed with status 2
stderr:
ysh16 Another "stealing stdin" issue with spec tests

[ysh stdout] Expected '(Str) "1"\n(Str) "2"\n(Str) "3"\n(Str) "4"\n(Str) "5"\n' Got '(Str) ""\n(Str) ""\n(Str) ""\n(Str) "1"\n(Str) "2"\n(Str) "3"\n(Str) "4"\n(Str) "5"\n'

stdout:
(Str)   ""
(Str)   ""
(Str)   ""
(Str)   "1"
(Str)   "2"
(Str)   "3"
(Str)   "4"
(Str)   "5"
stderr:
ysh-cpp16 Another "stealing stdin" issue with spec tests

[ysh-cpp stdout] Expected '(Str) "1"\n(Str) "2"\n(Str) "3"\n(Str) "4"\n(Str) "5"\n' Got '(Str) ""\n(Str) ""\n(Str) ""\n(Str) "1"\n(Str) "2"\n(Str) "3"\n(Str) "4"\n(Str) "5"\n'

stdout:
(Str)   ""
(Str)   ""
(Str)   ""
(Str)   "1"
(Str)   "2"
(Str)   "3"
(Str)   "4"
(Str)   "5"
stderr:
ysh17 Long boolean flags can't have attached values

[ysh stdout] Expected '', got 'hi\nhi\nhi\nhi\n\n"hi"\n"hi"\n"hi"\n"hi"\n'
[ysh status] Expected 1, got 2

stdout:
hi
hi
hi
hi

"hi"
"hi"
"hi"
"hi"
stderr:
  write --json=Talse hi
  ^~~~~
[ stdin ]:12: 'write' got invalid argument to boolean flag: 'Talse'
  write --json=Talse hi
  ^~~~~
[ stdin ]:12: errexit PID 30609: Command failed with status 2
ysh-cpp17 Long boolean flags can't have attached values

[ysh-cpp stdout] Expected '', got 'hi\nhi\nhi\nhi\n\n"hi"\n"hi"\n"hi"\n"hi"\n'
[ysh-cpp status] Expected 1, got 2

stdout:
hi
hi
hi
hi

"hi"
"hi"
"hi"
"hi"
stderr:
  write --json=Talse hi
  ^~~~~
[ stdin ]:12: 'write' got invalid argument to boolean flag: 'Talse'
  write --json=Talse hi
  ^~~~~
[ stdin ]:12: errexit PID 30627: Command failed with status 2