Lines Matching refs:fail
21 [[ -d "$FILEDIR" ]] || fail "no files directory $FILEDIR"
23 typeset -i fail=0
25 function fail { function
27 ((fail++))
40 fail "$name"
51 fail "couldn't create test directory $TD"
95 fail "couldn't create test directory $TD"
139 $MAKE -C > $outf 2>&1 && fail "$tst" || pass "$tst"
141 || fail "$tst (output)"
144 MAKEFLAGS="-C" $MAKE > $outf 2>&1 && fail "$tst" || pass "$tst"
146 || fail "$tst (output)"
149 $MAKE -C /no/such/directory > $outf 2>&1 && fail "$tst" || pass "$tst"
151 || fail "$tst (output)"
154 MAKEFLAGS="-C /no/such/directory" $MAKE > $outf 2>&1 && fail "$tst" \
157 || fail "$tst (output)"
166 [[ $fail -gt 0 ]] && exit -1