| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Eg: on Mageia 2, the network test would be skipped due to faulty test
which caused us to think no downloader would be available
|
|
|
|
|
| |
we could have done it for all tests directly from within t/helper.pm,
but only those tests actually need to find genhdlist2
|
|
|
|
| |
(needed for next commit)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It should help
http://www.cpantesters.org/cpan/report/9e067a66-83f1-11ea-85a9-af7f1f24ea8f
which fails.
That smoker had rpmtools/URPM already installed normally into this
perl's sitedir & bindir.
Adding the blib/script directories didn't help that case.
So try $Config{bin} too
|
|
|
|
|
|
|
|
|
|
|
|
| |
rationale:
in some cases, all dependency modules and scripts still reside in the
uninstalled blib directories.
CPAN.pm knows how to deal with uninstalled modules (all the blib/lib
directories go into the PERL5LIB environment variable).
But it does not do something similar for the blib/script directories.
So we have to try harder to find genhdlist2 by adding those blib/script
directories to PATH if they exist
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
rationale: CentOS 7's rpm doesn't support eg Recommendstag, it only
knows their definitions but is unable to parse a spec file using
Recommends
Ideally we should be able to detect a too old/unpatched rpm...
Technically, we could check whether it's Mageia < 6 which did have an
non upstream implementation (but was using Suggests tag instead of
Recommends and so would need testsuite adaption -- not worth it)
|
|
|
|
|
|
| |
where rpmquery default to outputing NVRA (vs NVR on Mageia)
reuse check_installed_fullnames() where needed instead of introducing %{NVR}
|
|
|
|
| |
also switching one character back from UTF to ASCII
|
| |
|
| |
|
|
|
|
|
|
| |
we need to define %_pkgverify_level to none else locally build packages
will derail the testsuite as some pkg installations will fail with eg:
package nls-1.0-2.i386 does not verify: no digest
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(y/N)?"), urpmi doesn't output "\n", which breaks parsing:
t/superuser--handle-conflict-deps2.t ............................
Failed 2/18 subtests
(...)
Test Summary Report
-------------------
t/superuser--handle-conflict-deps2.t (Wstat: 0 Tests: 16 Failed: 0)
Parse errors: Tests out of sequence. Found (6) but expected (5)
Tests out of sequence. Found (7) but expected (6)
Tests out of sequence. Found (8) but expected (7)
Tests out of sequence. Found (9) but expected (8)
Tests out of sequence. Found (10) but expected (9)
Displayed the first 5 of 13 TAP syntax errors.
Re-run prove with the -p option to see them all.
eg:
Continue installation anyway? (Y/n) ok 5 - should fail: echo n | perl -I.. ../urpmi --urpmi-root /urpmi/t/root -q c-2 d1-2
|
|
|
|
|
|
|
| |
(was partially broken, non documented and hopefully unused)
(mostly reverting commit 234656 which introduced that feature)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(since it will be used in urpmi.cfg too, it needs a less verbose name)
|
|
|
|
|
|
|
| |
as an alternative to using urpmi.addmedia
nb: need documentation
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
o fix regression introduced in 4.10.15:
"urpmi --force valid invalid" should warn about "invalid" but still
install "valid"
|
| |
|
| |
|
| |
|
|
|
|
|
| |
"c" because pkg "b" provides a new version of "c")
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
one drawback of the superuser--*.t is the need to be root
(the rpmlib needs it to install in a root partition), so for now "make test"
tests *.t but superuser--*.t are skipped. Then as root, run
"sudo make test TEST_FILES='t/superuser--*.t'"
|