mirror of
https://github.com/dynup/kpatch
synced 2024-12-28 16:22:04 +00:00
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:
parent
1a91e256ff
commit
80f78c78bb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user