test/integration: skip -SLOW load tests in combined run

We are not including -SLOW patches into combined module, so there is no
reason to expect their -LOADED tests to succeed with combined module.
Skip them in run_combined_test().

Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
Artem Savkov 2018-08-22 14:48:53 +02:00
parent 1a91e256ff
commit 80f78c78bb

View File

@ -258,6 +258,7 @@ run_combined_test() {
for testprog in "${TEST_LIST[@]}"; do
[[ $testprog != *-LOADED.test ]] && continue
[[ $testprog =~ -SLOW ]] && continue
if $testprog >> $LOG 2>&1; then
error "combined: $testprog succeeded before kpatch load"
return
@ -271,6 +272,7 @@ run_combined_test() {
for testprog in "${TEST_LIST[@]}"; do
[[ $testprog != *-LOADED.test ]] && continue
[[ $testprog =~ -SLOW ]] && continue
if ! $testprog >> $LOG 2>&1; then
error "combined: $testprog failed after kpatch load"
fi
@ -283,6 +285,7 @@ run_combined_test() {
for testprog in "${TEST_LIST[@]}"; do
[[ $testprog != *-LOADED.test ]] && continue
[[ $testprog =~ -SLOW ]] && continue
if $testprog >> $LOG 2>&1; then
error "combined: $testprog succeeded after kpatch unload"
return