mirror of
https://github.com/dynup/kpatch
synced 2025-04-25 04:27:56 +00:00
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"
|
echo "custom test: $prefix"
|
||||||
|
|
||||||
if ./$testprog >> $LOG 2>&1; then
|
if ! ./$testprog >> $LOG 2>&1; then
|
||||||
error "$prefix: test failed"
|
error "$prefix: test failed"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user