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:
Joe Lawrence 2017-01-09 13:26:15 -05:00
parent 1096da7155
commit f7b59ca809
1 changed files with 4 additions and 0 deletions

View File

@ -267,6 +267,10 @@ build_combined_module() {
}
run_combined_test() {
if [[ ! -e COMBINED.patch ]]; then
return
fi
if [[ ! -e kpatch-COMBINED.ko ]]; then
log "can't find kpatch-COMBINED.ko, skipping"
return