summaryrefslogtreecommitdiffstats
path: root/t/helper.pm
Commit message (Collapse)AuthorAgeFilesLines
* 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'"