summaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeFilesLines
* fix a testsuite warningThierry Vignaud2015-08-271-1/+1
| | | | | | | | Explicitely adding libnss3.so fixes installing that package: warning: %post(rpm-query-in-scriptlet-1-1.x86_64) scriptlet failed, exit status 127 Which is b/c of: error: Failed to initialize NSS library
* speedup build by skipping debuginfoThierry Vignaud2015-08-271-0/+3
|
* disable debuginfoThierry Vignaud2015-08-041-0/+3
| | | | thus fixing noise in testsuite output
* use new option nameThierry Vignaud2014-09-071-1/+1
|
* check that --no-suggests alias still worksThierry Vignaud2014-09-071-0/+2
|
* s!--no-suggests!--no-recommends! in testsuiteThierry Vignaud2014-09-071-5/+5
|
* s/Suggests:/Recommends:/ in testsuiteThierry Vignaud2014-09-077-8/+8
|
* add 2 other possible transaction ordersThierry Vignaud2014-02-191-0/+2
| | | | needed due to perl-5.18 random keys order
* add 2 other possible transaction ordersThierry Vignaud2013-10-041-0/+2
| | | | | | needed due to perl-5.18 random keys order it could alternatively be workarounded by sorting packages in genhdlist2
* factorize possible transaction sets definitionThierry Vignaud2013-10-041-19/+18
| | | | (needed for next commit)
* simplify: use member()Thierry Vignaud2013-10-041-1/+1
| | | | (needed for next commit)
* adapt to perl-5.18's random hash keys orderingThierry Vignaud2013-10-041-2/+2
| | | | | | | | | | | | | | | | | | | | (translate_why_removed_one) ensure we got the right reason (testsuite) adapt to new URPM predictible behaviour it was previously relying on the following fixed hash order: $ perl -MData::Dumper -e 'warn Dumper [ keys {'rr1', 'rr1', 'rr2', 'rr2'} ]; \ warn Dumper [ keys {'bb1', 'bb1', 'bb2', 'bb2-1'} ]' $VAR1 = [ 'rr2', 'rr1' ]; $VAR1 = [ 'bb1', 'bb2' ];
* (install_logger) keep a separate counter for erasuresThierry Vignaud2013-02-091-3/+3
| | | | | | | | | | only initialize $total_pkg: - when starting a new transaction - or on first erasure in transaction (_compute_pkg_total) kill it (no more needed) adjust testsuite accordingly
* (install_logger) unify with callback_uninst(), thus fixing counting forThierry Vignaud2013-02-051-4/+5
| | | | | | | | | | erasures (callback_uninst) restore quiet behavior when not in verbose mode (install) temporary set $urpm->{trans} adapt testsuite
* (callback_uninst) display erasure progressThierry Vignaud2013-02-031-0/+1
| | | | | | inspirated from install_logger() adjust testsuite accordingly
* wrap commentThierry Vignaud2013-02-031-3/+2
|
* fix that test when prelink is installedThierry Vignaud2013-01-311-0/+7
|
* revert my previous commits, this was a bad anywayGuillaume Rousse2012-12-105-79/+11
|
* drop executable bit, as for other testsGuillaume Rousse2012-12-083-0/+0
|
* obsoleted by pod-syntax.tGuillaume Rousse2012-12-061-5/+0
|
* oops, forgotten during previous commitGuillaume Rousse2012-12-061-0/+0
|
* rename pod-related testsGuillaume Rousse2012-12-062-0/+0
|
* initial importGuillaume Rousse2012-12-051-0/+27
|
* initial importGuillaume Rousse2012-12-051-0/+24
|
* use Test::Compile for more automationGuillaume Rousse2012-12-051-6/+10
|
* initial importGuillaume Rousse2012-12-051-0/+18
|
* drop support for rpm5Thierry Vignaud2012-10-044-20/+1
|
* (test_urpmi) ignore new "SECURITY:" messagesThierry Vignaud2012-08-311-0/+1
|
* fix testsuite: use new --no-verify-rpm optionThierry Vignaud2012-08-311-1/+1
|
* silent a 4years+ old warning when running testsuiteThierry Vignaud2012-06-131-1/+1
| | | | | option --src is deprecated by --buildrequires since commit r233081 by pixel on Fri Jan 18 2008...
* fix a testsuite regression with rpm-4.10.0Thierry Vignaud2012-06-081-1/+5
| | | | | | | | disable failing %%pretrans test with rpm-4.10.0 which now fails with: "error: pretrans-1-1.x86_64: install skipped" b/c in rpm-4.10.0: "%pretrans scriptlet failure now fails the install of the package %(similarly to %pre and %preun semantics)"
* fix testsuite faillure introduced in commit r3103 on Feb 27 2012:Thierry Vignaud2012-06-083-4/+4
| | | | | | | | | "fix urpmi failing silently and with exit status 0 when package installation fails due to either conflicts (mdv#63072) or to unselecting package (inspirated by mdv, mdv#63940)" urpmi now exit with 17 instead of 0 in that case unless we comment "$exit_code ||= $urpm::postponed_code;" in urpmi
* (system_should_partially_fail,urpmi_partial) introduce them for next commitThierry Vignaud2012-06-081-1/+10
|
* (test_exotic_medium_name) skip test when building as root in /rootThierry Vignaud2012-06-081-0/+5
| | | | | | | | | else File::Path::mkpath() in urpm::create_var_lib_rpm() tries to create directories in /root/rpmbuild/urpmi*/t/root (but as nobody), thus it stat every directory in $PWD, which fails (due to permissions!) then try to create them which fails (due to directory already existing) another solution would be to use a mkstemp()ed directory in TMPDIR...
* fix 4years+ old warning when running testsuiteThierry Vignaud2012-06-081-1/+1
| | | | | -option --src is deprecated by --buildrequires since commit r233081 by pixel on Fri Jan 18 2008...
* (handle_need_restart) enable to test "should restart" againThierry Vignaud2012-02-271-2/+4
| | | | | it didn't work since commit r263652 on Tue Nov 24 2009 (was: "(handle_need_restart) do not advice to reboot when inside a chroot")
* (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
* kill unused DUDF support (mga#4493)Thierry Vignaud2012-02-141-1/+1
|
* do not test urpm::dudfThierry Vignaud2012-01-231-2/+2
|
* fix another stupide failureThierry Vignaud2011-12-181-1/+1
|
* fix stupid testsuite faillure on mageia...Thierry Vignaud2011-12-181-1/+1
|
* Add urpmi testcase for bug #57224 (disabled until fixed)Anssi Hannula2010-01-246-1/+99
|
* testsuite: fix backtrack-promotion.t for 32bitAnssi Hannula2010-01-231-3/+1
|
* testsuite: When trying to install two conflicting packages, considerAnssi Hannula2010-01-232-9/+22
| | | | | | the tests passed if either of them is installed succesfully after alerting the user.
* add comment about tests known not to workChristophe Fergeau2010-01-122-0/+4
|
* adjust tests for string changesChristophe Fergeau2010-01-122-3/+3
|
* adjust parsing of orphan message in auto-orphan testChristophe Fergeau2010-01-121-1/+1
|
* adjust expected test resultsChristophe Fergeau2010-01-122-4/+4
| | | | | | These tests have 2 valid outputs depending on which order the packages are picked by urpmi, seems this order changed, so we have to adjust the expected results
* undefine distepoch & disttag so that it won't affect buildroot namePer Øyvind Karlsen2009-08-191-0/+2
|
* Enable urpmi testcase for now fixed bug #52667.Anssi Hannula2009-08-111-2/+2
|