Lines Matching refs:expected

67 		err_exit "\$ENV file &>/dev/null does not redirect stdout -- expected '', got $got"
73 err_exit "\$ENV file &>/dev/null does not redirect stderr -- expected one diagnostic line, got $got"
166 expected='bam.c bar.c'
167 [[ $* == $expected ]] ||
168 err_exit "-G **.c failed -- expected '$expected', got '$*'"
170 expected='bam.c bar bar.c bar/bam.c bar/foo.c foo foo/bam.c'
171 [[ $* == $expected ]] ||
172 err_exit "-G ** failed -- expected '$expected', got '$*'"
174 expected='bam.c bar.c bar/bam.c bar/foo.c foo/bam.c'
175 [[ $* == $expected ]] ||
176 err_exit "-G **/*.c failed -- expected '$expected', got '$*'"
178 expected='bam.c bar/bam.c foo/bam.c'
179 [[ $* == $expected ]] ||
180 err_exit "-G **/bam.c failed -- expected '$expected', got '$*'"
336 [[ $1 == set && $2 == --default ]] || err_exit "set --state failed -- expected 'set --default *', got '$1 $2 *'"
352 [[ $state == $default ]] || err_exit "set --state for default options failed: expected '$default', got '$state'"
355 [[ $state == "set $restore" ]] || err_exit "set --state after restore failed: expected 'set $restore', got '$state'"
370 expected=${pipeline[i].nopipefail}
371 [[ $status == $expected ]] ||
372 err_exit "--nopipefail '${pipeline[i].command}' exit status $status -- expected $expected"
379 expected=${pipeline[i].pipefail}
380 if [[ $status != $expected ]]
381 then err_exit "--pipefail '${pipeline[i].command}' exit status $status -- expected $expected"
416 [[ $got == @((12|21)(12|21)) ]] || err_exit "& job delayed by --pipefail, expected '$exp', got '$got'"
441 [[ $got == "$exp" ]] || err_exit "function definition inside (...) with $var unset fails -- got '$got', expected '$exp'"
444 [[ $got == "$exp" ]] || err_exit "function definition inside {...;} with $var unset fails -- got '$got', expected '$exp'"
476 [[ $got == "$exp" ]] || err_exit "$cmd failed -- got '$got', expected '$exp'"