Results for interactive.test.sh

statusdashbashmkshosh
pass 0809
ok 0100
N-I 9090
total9999
casedashbashmkshoshdescription
0N-I pass N-I pass 'exit' in oshrc (regression)
detailsdetails
1N-I pass N-I pass fatal errors continue
detailsdetails
2N-I pass N-I pass interactive shell loads rcfile (when combined with -c)
detailsdetails
3N-I pass N-I pass interactive shell runs PROMPT_COMMAND after each command
detailsdetails
4N-I pass N-I pass parse error in PROMPT_COMMAND
detailsdetails
5N-I pass N-I pass runtime error in PROMPT_COMMAND
detailsdetails
6N-I pass N-I pass Error message with bad oshrc file (currently ignored)
detailsdetails
7N-I pass N-I pass PROMPT_COMMAND can see $?, like bash
detailsdetails
8N-I ok N-I pass PROMPT_COMMAND that writes to BASH_REMATCH
detailsdetailsdetails
17 passed, 1 OK, 18 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

dash0 'exit' in oshrc (regression)

stdout:
stderr: 
dash: 0: Illegal option --
mksh0 'exit' in oshrc (regression)

stdout:
stderr: 
mksh: mksh: --: unknown option
dash1 fatal errors continue

stdout:
stderr: 
dash: 0: Illegal option --
mksh1 fatal errors continue

stdout:
stderr: 
mksh: mksh: --: unknown option
dash2 interactive shell loads rcfile (when combined with -c)

stdout:
1
stderr:
dash: 0: Illegal option --
mksh2 interactive shell loads rcfile (when combined with -c)

stdout:
1
stderr:
mksh: mksh: --: unknown option
dash3 interactive shell runs PROMPT_COMMAND after each command

stdout:
stderr: 
mksh3 interactive shell runs PROMPT_COMMAND after each command

stdout:
stderr: 
dash4 parse error in PROMPT_COMMAND

stdout:
stderr: 
mksh4 parse error in PROMPT_COMMAND

stdout:
stderr: 
dash5 runtime error in PROMPT_COMMAND

stdout:
stderr: 
mksh5 runtime error in PROMPT_COMMAND

stdout:
stderr: 
dash6 Error message with bad oshrc file (currently ignored)

stdout:
status=2
stderr:
mksh6 Error message with bad oshrc file (currently ignored)

stdout:
status=1
stderr:
dash7 PROMPT_COMMAND can see $?, like bash

stdout:
stderr: 
mksh7 PROMPT_COMMAND can see $?, like bash

stdout:
stderr: 
dash8 PROMPT_COMMAND that writes to BASH_REMATCH

stdout:
stderr: 
bash8 PROMPT_COMMAND that writes to BASH_REMATCH

stdout:
---
one
---
---
clo c l o
---
^D
stderr:
bash: initialize_job_control: no job control in background: Bad file descriptor
PROMPT_COMMAND='[[ clobber =~ (.)(.)(.) ]]; echo ---'
echo one
[[ bar =~ (.)(.)(.) ]]
echo ${BASH_REMATCH[@]}
exit
mksh8 PROMPT_COMMAND that writes to BASH_REMATCH

stdout:
stderr: