/home/uke/oil/bin/osh interactive: spec test case results

Results for interactive.test.sh

statusosh
FAIL 15
total15
caseoshdescription
0FAIL 'exit' in oshrc (regression)
details
1FAIL fatal errors continue
details
2FAIL interactive shell loads rcfile (when combined with -c)
details
3FAIL interactive shell loads files in rcdir (when combined with -c)
details
4FAIL nonexistent --rcdir is ignored
details
5FAIL shell doesn't load rcfile/rcdir if --norc is given
details
6FAIL interactive shell runs PROMPT_COMMAND after each command
details
7FAIL parse error in PROMPT_COMMAND
details
8FAIL runtime error in PROMPT_COMMAND
details
9FAIL Error message with bad oshrc file (currently ignored)
details
10FAIL PROMPT_COMMAND can see $?, like bash
details
11FAIL PROMPT_COMMAND that writes to BASH_REMATCH
details
12FAIL NO ASSERTIONS: Are startup files sourced before or after job control?
details
13FAIL HISTFILE is written in interactive shell
details
14FAIL HISTFILE default value
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 15 failed, 0 timeouts, 0 cases skipped
15 failed under osh

Details on runs that didn't PASS

osh0 'exit' in oshrc (regression)

[osh stdout] Expected 'one\n', got ''
[osh status] Expected 42, 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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh1 fatal errors continue

[osh stdout] Expected 'one\n', got ''
[osh status] Expected 42, 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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh2 interactive shell loads rcfile (when combined with -c)

[osh stdout] Expected '1\nRCFILE\n2\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh3 interactive shell loads files in rcdir (when combined with -c)

[osh stdout] Expected 'A\nrcdir 1\nrcdir 2\nB\nrcfile first\nrcdir 1\nrcdir 2\nC\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh4 nonexistent --rcdir is ignored

[osh stdout] Expected 'hi\nstatus=0\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh5 shell doesn't load rcfile/rcdir if --norc is given

[osh stdout] Expected 'A\nC\nD\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh6 interactive shell runs PROMPT_COMMAND after each command

[osh stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh7 parse error in PROMPT_COMMAND

[osh stdout] Expected 'one\ntwo\n^D\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh8 runtime error in PROMPT_COMMAND

[osh stdout] Expected 'one\ntwo\n^D\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh9 Error message with bad oshrc file (currently ignored)

[osh stdout] Expected 'hi\nstatus=0\nbad_oshrc:\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh10 PROMPT_COMMAND can see $?, like bash

[osh stdout] Expected 'last_status=0\nlast_status=42\nlast_status=43\nok\nlast_status=0\n^D\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh11 PROMPT_COMMAND that writes to BASH_REMATCH

[osh stdout] Expected '---\none\n---\n---\nbar b a r\n---\n^D\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh12 NO ASSERTIONS: Are startup files sourced before or after job control?

[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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh13 HISTFILE is written in interactive shell

[osh stdout] Expected 'hist1\nhist2\n^D\necho hist1; echo hist2\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh14 HISTFILE default value

[osh stdout] Expected 'status=0\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_