Results for bugs.test.sh

statusoshosh-cpp
pass 2725
ok 11
FAIL 02
total2828
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
8pass pass First word like foo$x() and foo$[1+2] (regression)
9pass pass Function names
10ok ok file with NUL byte
detailsdetails
11pass pass fastlex: PS1 format string that's incomplete / with NUL byte
12pass pass 'echo' and printf fail on writing to full disk
13pass pass other builtins fail on writing to full disk
14pass pass subshell while running a script (regression)
15pass pass for loop (issue #1446)
16pass pass for loop 2 (issue #1446)
17pass FAIL autoconf word split (#1449)
details
18pass pass autoconf arithmetic - relaxed eval_unsafe_arith (#1450)
19pass pass command execution $(echo 42 | tee PWNED) not allowed
20pass pass process sub <(echo 42 | tee PWNED) not allowed
21pass FAIL unset doesn't allow command execution
details
22pass pass printf integer size bug
23pass pass (( status bug
24pass pass autotools as_fn_arith bug in configure
25pass pass OSH can use ARGV name
26pass pass Crash in {1..10} - issue #2296
27pass pass Crash after changing $[] to be alias of $(( ))
52 passed, 2 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh10 file with NUL byte

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

stdout:
one
stderr:
osh-cpp17 autoconf word split (#1449)

[osh-cpp stdout] Expected '--- $()\n[-n]\n[my sed command]\n[f1]\n[f2]\n--- backticks\n[-n]\n[my sed command]\n[f1]\n[f2]\nNOT SPLIT\n' Got ''
[osh-cpp status] Expected 0 Got 2

stdout:
stderr: 
  x=$(eval "mysed -n \"\$sedscript\" $sedinputs")
                                                ^
[ stdin ]:11: Invalid word while parsing command list
osh-cpp21 unset doesn't allow command execution

[osh-cpp stdout] Expected 'len=1\n' Got 'len=1\nlen=1\nNOPE\n'
[osh-cpp status] Expected 1 Got 0

stdout:
len=1
len=1
NOPE
stderr:
  a[$(echo 0 | tee PWNED)]
                        ^
[ sh arith expr at ? ]:1

[??? no location ???] Invalid word while parsing command list
  unset -v 'a[$(echo 0 | tee PWNED)]'
           ^
[ stdin ]:5: 'unset' got invalid LHS expression