Lines Matching refs:got

191 got=$(trap)
192 [[ $got == $exp ]] || err_exit "\$(trap) failed -- expected \"$exp\", got \"$got\""
194 got=$(trap -p TERM)
195 [[ $got == $exp ]] || err_exit "\$(trap -p TERM) failed -- expected \"$exp\", got \"$got\""
323 then err_exit "read -n1 failed -- expected '$exp', got '$y'"
384 [[ $out == $val ]] || err_exit "printf $fmt $arg failed -- expected '$val', got '$out'"
387 else [[ $err ]] && err_exit "$err: printf $fmt $arg failed, error message not expected -- got '$err'"
389 (( $ret == $code )) || err_exit "printf $fmt $arg failed -- expected exit code $code, got $ret"
405 then err_exit "\$OPTIND after getopts loop incorrect -- expected ${ARGC[$i]}, got $OPTIND"
413 a|c) [[ $OPTARG ]] && err_exit "getopts $options \$OPTARG for flag $opt failed, expected \"\", got \"$OPTARG\"" ;;
414 b) [[ $OPTARG == $optarg ]] || err_exit "getopts $options \$OPTARG failed -- \"$optarg\" expected, got \"$OPTARG\"" ;;
415 *) err_exit "getopts $options failed -- got flag $opt" ;;
426 [[ $a == $exp ]] || err_exit "read -N3 here-document failed -- expected '$exp', got '$a'"
428 [[ $b == $exp ]] || err_exit "read -N1 here-document failed -- expected '$exp', got '$b'"
433 [[ $a == $exp ]] || err_exit "read -n3 here-document failed -- expected '$exp', got '$a'"
435 #[[ $a == $exp ]] || err_exit "read -N3 from pipe failed -- expected '$exp', got '$a'"
437 #[[ $b == $exp ]] || err_exit "read -N1 from pipe failed -- expected '$exp', got '$b'"
440 #[[ $a == $exp ]] || err_exit "read -n3 from pipe failed -- expected '$exp', got '$a'"
449 # [[ $a == $exp ]] || err_exit "read -n3 from fifo failed -- expected '$exp', got '$a'"
458 # [[ $a == $exp ]] || err_exit "read -N3 from fifo failed -- expected '$exp', got '$a'"
460 # [[ $b == $exp ]] || err_exit "read -N1 from fifo failed -- expected '$exp', got '$b'"
529 (( sec > (del - 1) )) || err_exit "ALRM signal causes sleep to terminate prematurely -- expected 3 sec, got $sec"