Lines Matching refs:variable
41 then err_exit RANDOM variable not working
46 then err_exit SECONDS variable not working
51 then err_exit _ variable not working
59 #then err_exit ERRNO variable not working
63 then err_exit PWD variable failed, not equivalent to .
69 then err_exit "PPID variable failed -- expected '$exp', got '$got'"
75 then err_exit "OLDPWD variable failed -- expected '$old', got '$OLDPWD'"
83 then err_exit REPLY variable not working
92 then err_exit LINENO variable not working
500 [[ $got == new ]] || err_exit "previously unset environment variable not passed to script, expected 'new', got '$got'"
501 [[ ! $VAR ]] || err_exit "previously unset environment variable set after script, expected '', got '$VAR'"
506 [[ $got == new ]] || err_exit "environment variable covering local variable not passed to script, expected 'new', got '$got'"
507 [[ $VAR == old ]] || err_exit "previously set local variable changed after script, expected 'old', got '$VAR'"
512 [[ $got == new ]] || err_exit "environment variable covering environment variable not passed to script, expected 'new', got '$got'"
513 [[ $VAR == old ]] || err_exit "previously set environment variable changed after script, expected 'old', got '$VAR'"
672 [[ $($SHELL -c '{ x=1; : ${x.};print ok;}' 2> /dev/null) == ok ]] || err_exit '${x.} where x is a simple variable causes shell to abort'