From Fedora Project Wiki
(Add pkg name -based category) |
(Update to contemporary package and tool names) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=Perl core is not only interpreter but also core modules | |description=Perl core is not only an interpreter, but also a set of core modules – File::Spec, ExtUtils::MakeMaker, CPAN, etc. Some of these modules exist in core and in their own package as a convenience for the maintainer – we refer to these modules as "dual-life" modules. | ||
|setup=You probably have installed Perl. If not, it's not good idea to test it ;-) | |setup=You probably have installed Perl. If not, it's not a good idea to test it ;-) | ||
|actions= | |actions= | ||
# Do you have perl | # Do you have perl? {{command|rpm -q perl}} Great. This will require core modules, so they are installed, too (e.g. perl-PathTools, perl-ExtUtils-MakeMaker) | ||
# Will | # Will 'perl' or 'perl(Some::Module)' be installed in dnf upgrade? Did {{command|dnf upgrade}} pass? Then dual-life packages don't conflict with core package. No missing dependencies or NVR problems. | ||
# Do you have only perl because you like minimal installation? Great, than you can check if | # Do you have only perl-interpreter because you like minimal installation? Great, than you can check if upgrade doesn't pull in any other unneeded dependencies. | ||
|results= | |results= | ||
# Clean yum | # Clean yum upgrade without warnings, no NVR problems, no new useless dependencies in case of minimal Perl installation. | ||
}} | }} | ||
[[Category:Critical_path_test_cases]] | [[Category:Critical_path_test_cases]] | ||
[[Category:Package_perl_test_cases]] | [[Category:Package_perl_test_cases]] |
Latest revision as of 16:01, 4 December 2018
Description
Perl core is not only an interpreter, but also a set of core modules – File::Spec, ExtUtils::MakeMaker, CPAN, etc. Some of these modules exist in core and in their own package as a convenience for the maintainer – we refer to these modules as "dual-life" modules.
Setup
You probably have installed Perl. If not, it's not a good idea to test it ;-)
How to test
- Do you have perl?
rpm -q perl
Great. This will require core modules, so they are installed, too (e.g. perl-PathTools, perl-ExtUtils-MakeMaker) - Will 'perl' or 'perl(Some::Module)' be installed in dnf upgrade? Did
dnf upgrade
pass? Then dual-life packages don't conflict with core package. No missing dependencies or NVR problems. - Do you have only perl-interpreter because you like minimal installation? Great, than you can check if upgrade doesn't pull in any other unneeded dependencies.
Expected Results
- Clean yum upgrade without warnings, no NVR problems, no new useless dependencies in case of minimal Perl installation.