Lines Matching refs:got

188 got=$(trap)
189 [[ $got == $exp ]] || err_exit "\$(trap) failed -- expected \"$exp\", got \"$got\""
191 got=$(trap -p TERM)
192 [[ $got == $exp ]] || err_exit "\$(trap -p TERM) failed -- expected \"$exp\", got \"$got\""
311 then err_exit "read -n1 failed -- expected '$exp', got '$y'"
372 [[ $out == $val ]] || err_exit "printf $fmt $arg failed -- expected '$val', got '$out'"
375 else [[ $err ]] && err_exit "$err: printf $fmt $arg failed, error message not expected -- got '$err'"
377 (( $ret == $code )) || err_exit "printf $fmt $arg failed -- expected exit code $code, got $ret"
393 then err_exit "\$OPTIND after getopts loop incorrect -- expected ${ARGC[$i]}, got $OPTIND"
401 a|c) [[ $OPTARG ]] && err_exit "getopts $options \$OPTARG for flag $opt failed, expected \"\", got \"$OPTARG\"" ;;
402 b) [[ $OPTARG == $optarg ]] || err_exit "getopts $options \$OPTARG failed -- \"$optarg\" expected, got \"$OPTARG\"" ;;
403 *) err_exit "getopts $options failed -- got flag $opt" ;;
412 [[ $a == $exp ]] || err_exit "read -N3 here-document failed -- expected '$exp', got '$a'"
414 [[ $b == $exp ]] || err_exit "read -N1 here-document failed -- expected '$exp', got '$b'"
419 [[ $a == $exp ]] || err_exit "read -n3 here-document failed -- expected '$exp', got '$a'"
421 #[[ $a == $exp ]] || err_exit "read -N3 from pipe failed -- expected '$exp', got '$a'"
423 #[[ $b == $exp ]] || err_exit "read -N1 from pipe failed -- expected '$exp', got '$b'"
426 #[[ $a == $exp ]] || err_exit "read -n3 from pipe failed -- expected '$exp', got '$a'"
435 # [[ $a == $exp ]] || err_exit "read -n3 from fifo failed -- expected '$exp', got '$a'"
444 # [[ $a == $exp ]] || err_exit "read -N3 from fifo failed -- expected '$exp', got '$a'"
446 # [[ $b == $exp ]] || err_exit "read -N1 from fifo failed -- expected '$exp', got '$b'"
515 #(( sec > (del - 1) )) || err_exit "ALRM signal causes sleep to terminate prematurely -- expected 3 sec, got $sec"