Results for interactive.test.sh

statusoshosh_.pyosh_.cc
pass 700
FAIL 077
total777
caseoshosh_.pyosh_.ccdescription
0pass FAIL FAIL 'exit' in oshrc (regression)
detailsdetails
1pass FAIL FAIL fatal errors continue
detailsdetails
2pass FAIL FAIL interactive shell loads rcfile (when combined with -c)
detailsdetails
3pass FAIL FAIL interactive shell runs PROMPT_COMMAND after each command
detailsdetails
4pass FAIL FAIL parse error in PROMPT_COMMAND
detailsdetails
5pass FAIL FAIL runtime error in PROMPT_COMMAND
detailsdetails
6pass FAIL FAIL Error message with bad oshrc file (currently ignored)
detailsdetails
7 passed, 0 OK, 0 not implemented, 0 BUG, 14 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.py0 'exit' in oshrc (regression)

[osh_.py stdout] Expected 'one\n', got "(cmd_value.Argv argv:[cat] arg_spids:[0])\n(cmd_value.Argv argv:[--rcfile '/oshrc' -i -c 'echo hello'] arg_spids:[16 18 21 23 25])\n"
[osh_.py status] Expected 42, got 0

stdout:
(cmd_value.Argv argv:[cat] arg_spids:[0])
(cmd_value.Argv argv:[--rcfile '/oshrc' -i -c 'echo hello'] arg_spids:[16 18 21 23 25])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc0 'exit' in oshrc (regression)

[osh_.cc stdout] Expected 'one\n', got "(cmd_value.Argv argv:[cat] arg_spids:[0])\n(cmd_value.Argv argv:[--rcfile '/oshrc' -i -c 'echo hello'] arg_spids:[16 18 21 23 25])\n"
[osh_.cc status] Expected 42, got 0

stdout:
(cmd_value.Argv argv:[cat] arg_spids:[0])
(cmd_value.Argv argv:[--rcfile '/oshrc' -i -c 'echo hello'] arg_spids:[16 18 21 23 25])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py1 fatal errors continue

[osh_.py stdout] Expected 'one\n', got "(cmd_value.Argv\n argv: [--rcfile '/dev/null' -i -c '\\necho $(( 1 / 0 ))\\necho one\\nexit 42\\n']\n arg_spids: [2 4 6 8 10]\n)\n"
[osh_.py status] Expected 42, got 0

stdout:
(cmd_value.Argv
  argv: [--rcfile '/dev/null' -i -c '\necho $(( 1 / 0 ))\necho one\nexit 42\n']
  arg_spids: [2 4 6 8 10]
)
stderr:
Unhandled SimpleCommand
osh_.cc1 fatal errors continue

[osh_.cc stdout] Expected 'one\n', got "(cmd_value.Argv\n argv: [--rcfile '/dev/null' -i -c '\\necho $(( 1 / 0 ))\\necho one\\nexit 42\\n']\n arg_spids: [2 4 6 8 10]\n)\n"
[osh_.cc status] Expected 42, got 0

stdout:
(cmd_value.Argv
  argv: [--rcfile '/dev/null' -i -c '\necho $(( 1 / 0 ))\necho one\nexit 42\n']
  arg_spids: [2 4 6 8 10]
)
stderr:
Unhandled SimpleCommand
osh_.py2 interactive shell loads rcfile (when combined with -c)

[osh_.py stdout] Expected '1\nRCFILE\n2\n', got "(cmd_value.Argv argv:[-c 'echo 1'] arg_spids:[2 4])\n(cmd_value.Argv argv:[cat] arg_spids:[8])\n(cmd_value.Argv argv:[--rcfile '/rcfile' -i -c 'echo 2'] arg_spids:[22 24 27 29 31])\n"

stdout:
(cmd_value.Argv argv:[-c 'echo 1'] arg_spids:[2 4])
(cmd_value.Argv argv:[cat] arg_spids:[8])
(cmd_value.Argv argv:[--rcfile '/rcfile' -i -c 'echo 2'] arg_spids:[22 24 27 29 31])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc2 interactive shell loads rcfile (when combined with -c)

[osh_.cc stdout] Expected '1\nRCFILE\n2\n', got "(cmd_value.Argv argv:[-c 'echo 1'] arg_spids:[2 4])\n(cmd_value.Argv argv:[cat] arg_spids:[8])\n(cmd_value.Argv argv:[--rcfile '/rcfile' -i -c 'echo 2'] arg_spids:[22 24 27 29 31])\n"

stdout:
(cmd_value.Argv argv:[-c 'echo 1'] arg_spids:[2 4])
(cmd_value.Argv argv:[cat] arg_spids:[8])
(cmd_value.Argv argv:[--rcfile '/rcfile' -i -c 'echo 2'] arg_spids:[22 24 27 29 31])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py3 interactive shell runs PROMPT_COMMAND after each command

[osh_.py stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got ''

stdout:
stderr: 
osh_.cc3 interactive shell runs PROMPT_COMMAND after each command

[osh_.cc stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got ''

stdout:
stderr: 
osh_.py4 parse error in PROMPT_COMMAND

[osh_.py stdout] Expected 'one\ntwo\n^D\n', got ''

stdout:
stderr: 
osh_.cc4 parse error in PROMPT_COMMAND

[osh_.cc stdout] Expected 'one\ntwo\n^D\n', got ''

stdout:
stderr: 
osh_.py5 runtime error in PROMPT_COMMAND

[osh_.py stdout] Expected 'one\ntwo\n^D\n', got ''

stdout:
stderr: 
osh_.cc5 runtime error in PROMPT_COMMAND

[osh_.cc stdout] Expected 'one\ntwo\n^D\n', got ''

stdout:
stderr: 
osh_.py6 Error message with bad oshrc file (currently ignored)

[osh_.py stdout] Expected 'hi\nstatus=0\nbad_oshrc:\n', got "foo >\n(cmd_value.Argv argv:[--rcfile bad_oshrc -i -c 'echo hi'] arg_spids:[16 18 20 22 24])\nstatus=0\n(cmd_value.Argv argv:[grep --max-count 1 -o 'bad_oshrc:' stderr.txt] arg_spids:[36 38 40 42 44 48])\n"

stdout:
foo >
(cmd_value.Argv argv:[--rcfile bad_oshrc -i -c 'echo hi'] arg_spids:[16 18 20 22 24])
status=0
(cmd_value.Argv argv:[grep --max-count 1 -o 'bad_oshrc:' stderr.txt] arg_spids:[36 38 40 42 44 48])
stderr:
[??? no location ???] $HOME isn't defined
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc6 Error message with bad oshrc file (currently ignored)

[osh_.cc stdout] Expected 'hi\nstatus=0\nbad_oshrc:\n', got "foo >\n(cmd_value.Argv argv:[--rcfile bad_oshrc -i -c 'echo hi'] arg_spids:[16 18 20 22 24])\nstatus=0\n(cmd_value.Argv argv:[grep --max-count 1 -o 'bad_oshrc:' stderr.txt] arg_spids:[36 38 40 42 44 48])\n"

stdout:
foo >
(cmd_value.Argv argv:[--rcfile bad_oshrc -i -c 'echo hi'] arg_spids:[16 18 20 22 24])
status=0
(cmd_value.Argv argv:[grep --max-count 1 -o 'bad_oshrc:' stderr.txt] arg_spids:[36 38 40 42 44 48])
stderr:
[??? no location ???] $HOME isn't defined
Unhandled SimpleCommand
Unhandled SimpleCommand