summaryrefslogtreecommitdiffstats
path: root/t/helper.pm
Commit message (Collapse)AuthorAgeFilesLines
* do not skip network tests on pre-UsrMove distrosThierry Vignaud2020-05-011-1/+1
| | | | | Eg: on Mageia 2, the network test would be skipped due to faulty test which caused us to think no downloader would be available
* cpan_testers: fallback to bundled genhdlist2Thierry Vignaud2020-04-291-0/+4
| | | | | we could have done it for all tests directly from within t/helper.pm, but only those tests actually need to find genhdlist2
* do not restrict PATH during testsuiteThierry Vignaud2020-04-291-0/+2
| | | | (needed for next commit)
* retry if curl failed with timeoutThierry Vignaud2020-04-291-1/+16
|
* disable fsync/fdatasync while running testsThierry Vignaud2020-04-291-0/+1
|
* Also look at $Config{bin} for genhdlist2Thierry Vignaud2020-04-281-1/+2
| | | | | | | | | | 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
* try harder to find genhdlist2 on CPAN testersThierry Vignaud2020-04-281-0/+6
| | | | | | | | | | | | 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
* split set_path()Thierry Vignaud2020-04-281-1/+6
|
* introduce is_mageia()Thierry Vignaud2020-04-281-1/+5
|
* describe more tests to help pinpoint regressionsThierry Vignaud2020-04-281-5/+5
|
* perl_checker cleanupsThierry Vignaud2020-04-281-1/+1
|
* cpan_testers: skip weak deps test on CentOS 7 (unsupported)Thierry Vignaud2020-04-091-0/+6
| | | | | | | | | | | | 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)
* fix testsuite errors on CentOs (NVR vs NVRA)Thierry Vignaud2020-01-171-1/+1
| | | | | | where rpmquery default to outputing NVRA (vs NVR on Mageia) reuse check_installed_fullnames() where needed instead of introducing %{NVR}
* (need_downloader) split it for next commitThierry Vignaud2020-01-071-1/+15
| | | | also switching one character back from UTF to ASCII
* remove commented out debug lineThierry Vignaud2018-07-021-1/+0
|
* perl_checker cleanupsThierry Vignaud2018-07-021-1/+1
|
* adapt testsuite to rpm-4.14.2 RC1Thierry Vignaud2018-07-021-1/+3
| | | | | | 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
* drop support for rpm5Thierry Vignaud2012-10-041-6/+0
|
* fix testsuite: use new --no-verify-rpm optionThierry Vignaud2012-08-311-1/+1
|
* (system_should_partially_fail,urpmi_partial) introduce them for next commitThierry Vignaud2012-06-081-1/+10
|
* (system_should_fail) on some error questions ("Do you want to...Thierry Vignaud2012-02-271-0/+2
| | | | | | | | | | | | | | | | | | | | | (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
* - drop support for /etc/urpmi/media.d/*.cfgPascal Rigaux2009-01-281-26/+0
| | | | | | | (was partially broken, non documented and hopefully unused) (mostly reverting commit 234656 which introduced that feature)
* fix typoPascal Rigaux2009-01-071-1/+1
|
* segfault must not go undetected!Pascal Rigaux2008-12-091-1/+2
|
* revert unwanted commit (was for debugging)Pascal Rigaux2008-09-091-1/+1
|
* for tests: handle empty list of pkgs to removePascal Rigaux2008-09-061-3/+3
|
* rename conf_file__rel_media into with-dirPascal Rigaux2008-02-211-1/+1
| | | | | (since it will be used in urpmi.cfg too, it needs a less verbose name)
* - urpmi handles /etc/urpmi/media.d/*.cfgPascal Rigaux2008-02-141-0/+26
| | | | | | | as an alternative to using urpmi.addmedia nb: need documentation
* have urpmi quiet option "-q" for urpm_cmd()Pascal Rigaux2008-02-041-5/+10
|
* only display the cmd when debuggingPascal Rigaux2008-01-181-1/+1
|
* add run_urpm_cmd()Pascal Rigaux2008-01-151-1/+7
|
* - urpmi:Pascal Rigaux2007-11-301-1/+5
| | | | | | | o fix regression introduced in 4.10.15: "urpmi --force valid invalid" should warn about "invalid" but still install "valid"
* allow to run tests on 4.4.2.2 which gives a few different resultsPascal Rigaux2007-11-141-0/+5
|
* add a test case for #31969, need to fix urpmi now...Pascal Rigaux2007-08-221-1/+8
|
* new test for file conflictsPascal Rigaux2007-08-131-1/+6
|
* add a test case for bug #31130 (--auto-select not upgrading pkg "a" providingPascal Rigaux2007-05-311-1/+7
| | | | | "c" because pkg "b" provides a new version of "c")
* re-sync after the big svn lossPascal Rigaux2007-04-241-0/+26
|
* catch "module Net::Server::Simple is missing" casePascal Rigaux2007-03-231-2/+5
|
* create urpm_cmd()Pascal Rigaux2006-12-121-9/+12
|
* add urpmi_update()Pascal Rigaux2006-12-081-1/+5
|
* add set_urpmi_cfg_global_options()Pascal Rigaux2006-12-081-0/+11
|
* fix typoPascal Rigaux2006-12-041-1/+1
|
* fix typo (remove a "undefined value" warning)Pascal Rigaux2006-12-041-3/+6
|
* more tests, clean some others, enhance helper.pmPascal Rigaux2006-11-301-2/+36
|
* using --urpmi-root, create some tests using urpmi.addmedia, urpmi, urpmePascal Rigaux2006-11-301-0/+40
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'"