Results for interactive.test.sh

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

Details on runs that didn't PASS

bash3 interactive shell loads files in rcdir (when combined with -c)

stdout:
A
stderr:
bash: --rcdir: invalid option
Usage:	bash [GNU long option] [option] ...
	bash [GNU long option] [option] script-file ...
GNU long options:
	--debug
	--debugger
	--dump-po-strings
	--dump-strings
	--help
	--init-file
	--login
	--noediting
	--noprofile
	--norc
	--posix
	--pretty-print
	--rcfile
	--restricted
	--verbose
	--version
Shell options:
	-ilrsD or -c command or -O shopt_option		(invocation only)
	-abefhkmnptuvxBCEHPT or -o option
bash: --rcdir: invalid option
Usage:	bash [GNU long option] [option] ...
	bash [GNU long option] [option] script-file ...
GNU long options:
	--debug
	--debugger
	--dump-po-strings
	--dump-strings
	--help
	--init-file
	--login
	--noediting
	--noprofile
	--norc
	--posix
	--pretty-print
	--rcfile
	--restricted
	--verbose
	--version
Shell options:
	-ilrsD or -c command or -O shopt_option		(invocation only)
	-abefhkmnptuvxBCEHPT or -o option
bash4 nonexistent --rcdir is ignored

stdout:
stderr: 
bash5 shell doesn't load rcfile/rcdir if --norc is given

stdout:
A
C
stderr:
bash11 PROMPT_COMMAND that writes to BASH_REMATCH

stdout:
---
one
---
---
clo c l o
---
^D
stderr:
bash: cannot set terminal process group (2397): Inappropriate ioctl for device
bash: no job control in this shell
PROMPT_COMMAND='[[ clobber =~ (.)(.)(.) ]]; echo ---'
echo one
[[ bar =~ (.)(.)(.) ]]
echo ${BASH_REMATCH[@]}
exit