Results for introspect.test.sh

statusbashoshosh_ALT
pass 91010
BUG 100
total101010
casebashoshosh_ALTdescription
0pass pass pass ${FUNCNAME[@]} array
1BUG pass pass FUNCNAME with source (scalar or array)
details
2pass pass pass BASH_SOURCE and BASH_LINENO scalar or array (e.g. for virtualenv)
3pass pass pass ${FUNCNAME} with prefix/suffix operators
4pass pass pass operators on FUNCNAME
5pass pass pass ${FUNCNAME} and "set -u" (OSH regression)
6pass pass pass $((BASH_LINENO)) (scalar form in arith)
7pass pass pass ${BASH_SOURCE[@]} with source and function name
8pass pass pass ${BASH_SOURCE[@]} with line numbers
9pass pass pass ${BASH_LINENO[@]} is a stack of line numbers for function calls
29 passed, 0 OK, 0 not implemented, 1 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

bash1 FUNCNAME with source (scalar or array)

stdout:
['  @', 'source', 'f', 'g']
['  0', 'source']
['${}', 'source']
['  $', 'source']
-----
['  @', 'source']
['  0', 'source']
['${}', '']
['  $', '']
-----
[]
-----
['  @', 'A']
['  0', 'A']
['${}', 'A']
['  $', 'A']
stderr: