32 passed, 2 OK, 2 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
bash | 4 interactive shell loads files in rcdir (when combined with -c) stdout: Astderr: 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 |
bash | 5 nonexistent --rcdir is ignored stdout: stderr: |
bash | 6 shell doesn't load rcfile/rcdir if --norc is given stdout: A Cstderr: |
bash | 12 PROMPT_COMMAND that writes to BASH_REMATCH stdout: --- one --- --- clo c l o --- ^Dstderr: bash: cannot set terminal process group (8125): Inappropriate ioctl for device bash: no job control in this shell PROMPT_COMMAND='[[ clobber =~ (.)(.)(.) ]]; echo ---' echo one [[ bar =~ (.)(.)(.) ]] echo ${BASH_REMATCH[@]} exit |