fedora-ci / mini-tps

Installability test for RPMs
GNU General Public License v2.0
1 stars 8 forks source link

Add "--scriptletcheck" option #16

Closed msrb closed 1 year ago

msrb commented 1 year ago

YUM operations can succeed, but there can be scriptlets errors in the output.

This commit adds a new "--scriptletcheck" option that tells mini-tps to check the output of the YUM command and fail the test if any problematic words are found.

It's hard to tell how effective this approach will be in the real world -- only thorough testing will tell.

Signed-off-by: Michal Srb michal@redhat.com

msrb commented 1 year ago

This is related to OSCI-1230.

Andrei-Stepanov commented 1 year ago

Yeah, I like it. Thank you.

Andrei-Stepanov commented 1 year ago

@msrb please merge it.