Results for bugs.test.sh

statusoshosh-cpp
pass 1717
ok 32
FAIL 12
total2121
caseoshosh-cppdescription
0pass pass echo keyword
1pass pass if/else
2pass pass Turn an array into an integer.
3pass pass assign readonly -- one line
4pass pass assign readonly -- multiple lines
5pass pass assign readonly -- multiple lines -- set -o posix
6pass pass unset readonly -- one line
7pass pass unset readonly -- multiple lines
8ok ok First word like foo$x() and foo$[1+2] (regression)
detailsdetails
9ok FAIL Function names
detailsdetails
10ok ok file with NUL byte
detailsdetails
11pass pass fastlex: PS1 format string that's incomplete / with NUL byte
12FAIL FAIL 'echo' and printf to disk full
detailsdetails
13pass pass subshell while running a script (regression)
14pass pass for loop (issue #1446)
15pass pass for loop 2 (issue #1446)
16pass pass autoconf word split (#1449)
17pass pass autoconf arithmetic - relaxed eval_unsafe_arith (#1450)
18pass pass command execution $(echo 42 | tee PWNED) not allowed
19pass pass process sub <(echo 42 | tee PWNED) not allowed
20pass pass unset doesn't allow command execution
34 passed, 5 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh8 First word like foo$x() and foo$[1+2] (regression)

stdout:
DONE
stderr:
  foo$identity('z')
  ^~~
[ stdin ]:1: 'fooz' not found
  foo$[1+2]
  ^~~
[ stdin ]:3: 'foo3' not found
osh-cpp8 First word like foo$x() and foo$[1+2] (regression)

stdout:
DONE
stderr:
  foo$identity('z')
  ^~~
[ stdin ]:1: 'foo' not found
  foo$[1+2]
  ^~~
[ stdin ]:3: 'foo' not found
osh9 Function names

stdout:
stderr: 
  foo$x() {
  ^~~
[ stdin ]:1: fatal: Expected function named 'x', got (value.Undef) 
osh-cpp9 Function names

[osh-cpp status] Expected 1, got 2
[osh-cpp stdout] Expected '', got 'hi\n'

stdout:
hi
stderr:
  foo$x() {
  ^~~
[ stdin ]:1: 'foo' not found
  }
  ^
[ stdin ]:3: Unexpected right brace
osh10 file with NUL byte

stdout:
one
stderr:
osh-cpp10 file with NUL byte

stdout:
one
stderr:
osh12 'echo' and printf to disk full

[osh stdout] Expected 'status=1\nstatus=1\n', got ''
[osh status] Expected 0, got 2

stdout:
stderr: 
osh I/O error (main): No space left on device
osh-cpp12 'echo' and printf to disk full

[osh-cpp stdout] Expected 'status=1\nstatus=1\n', got 'status=0\nstatus=0\n'

stdout:
status=0
status=0
stderr: