mirror of https://github.com/dynup/kpatch
testing: skip combined test for a single patch
If kpatch-test processes a single .patch file, it will skip creating a COMBINED.patch. Do the same on the testing side (instead of complaining that it "can't find kpatch-COMBINED.ko, skipping.")
This commit is contained in:
parent
1096da7155
commit
f7b59ca809
|
@ -267,6 +267,10 @@ build_combined_module() {
|
||||||
}
|
}
|
||||||
|
|
||||||
run_combined_test() {
|
run_combined_test() {
|
||||||
|
if [[ ! -e COMBINED.patch ]]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ! -e kpatch-COMBINED.ko ]]; then
|
if [[ ! -e kpatch-COMBINED.ko ]]; then
|
||||||
log "can't find kpatch-COMBINED.ko, skipping"
|
log "can't find kpatch-COMBINED.ko, skipping"
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue