test: fix custom test error condition check

This commit is contained in:
Josh Poimboeuf 2014-05-05 16:41:56 -05:00
parent bcbc9d3109
commit 100f358b1d
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ run_custom_test() {
echo "custom test: $prefix"
if ./$testprog >> $LOG 2>&1; then
if ! ./$testprog >> $LOG 2>&1; then
error "$prefix: test failed"
fi
}