Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transactional/transactional_update: Really don't rely on repos in staging #12584

Merged
merged 1 commit into from
May 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions tests/transactional/transactional_update.pm
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,18 @@ sub run {
record_info 'Update #2', 'System should be up to date - no changes expected';
trup_call 'cleanup up';
check_reboot_changes 0;
}

# Check that zypper does not return 0 if update was aborted
record_info 'Broken pkg', 'Install broken package poo#18644 - snapshot #3';
trup_call "pkg install" . rpmver('broken');
check_reboot_changes;
# Systems with repositories would downgrade on DUP
if (is_leap) {
record_info 'Broken packages test skipped';
} else {
trup_call "cleanup up", exit_code => 1;
check_reboot_changes 0;
# Check that zypper does not return 0 if update was aborted
record_info 'Broken pkg', 'Install broken package poo#18644 - snapshot #3';
trup_call "pkg install" . rpmver('broken');
check_reboot_changes;
# Systems with repositories would downgrade on DUP
if (is_leap) {
record_info 'Broken packages test skipped';
} else {
trup_call "cleanup up", exit_code => 1;
check_reboot_changes 0;
}
}

record_info 'Remove pkg', 'Remove package - snapshot #4';
Expand Down