mirror of https://github.com/dynup/kpatch
test: fix custom test error condition check
This commit is contained in:
parent
bcbc9d3109
commit
100f358b1d
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue