Results for bugs.test.sh

statusoshosh-cpp
pass 2323
ok 11
FAIL 11
total2525
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
11FAIL FAIL fastlex: PS1 format string that's incomplete / with NUL byte
detailsdetails
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 pass autoconf word split (#1449)
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 pass unset doesn't allow command execution
22pass pass printf integer size bug
23pass pass (( status bug
24pass pass autotools as_fn_arith bug in configure
46 passed, 2 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh10 file with NUL byte

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

stdout:
one
stderr:
osh11 fastlex: PS1 format string that's incomplete / with NUL byte

[osh stdout] Expected 'x=\\D{%H:%M\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 202, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 141, in AppBundleMain
    return shell.Main('osh', arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1253, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 336, in Batch
    was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
  File "/home/uke/oil/core/main_loop.py", line 401, in Batch2
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags)
  File "/home/uke/oil/osh/cmd_eval.py", line 2175, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/uke/oil/osh/cmd_eval.py", line 1974, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/uke/oil/osh/cmd_eval.py", line 1701, in _Dispatch
    status = self._DoSimple(node, cmd_st)
  File "/home/uke/oil/osh/cmd_eval.py", line 904, in _DoSimple
    allow_assign=True)
  File "/home/uke/oil/osh/word_eval.py", line 2603, in EvalWordSequence2
    self._EvalWordFrame(frame, strs)
  File "/home/uke/oil/osh/word_eval.py", line 2311, in _EvalWordFrame
    argv.append(glob_.GlobUnescape(frag))
  File "/home/uke/oil/osh/glob_.py", line 139, in GlobUnescape
    raise AssertionError("Unexpected escaped character %r" % c2)
AssertionError: Unexpected escaped character 68
osh-cpp11 fastlex: PS1 format string that's incomplete / with NUL byte

[osh-cpp stdout] Expected 'x=\\D{%H:%M\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
osh: _gen/bin/oils_for_unix.mycpp.cc:42243: BigStr* glob_::GlobUnescape(BigStr*): Assertion `0' failed.
timeout: the monitored command dumped core