/[soft]/rpm/urpmi/trunk/t
ViewVC logotype

Log of /rpm/urpmi/trunk/t

View Directory Listing Directory Listing


Sticky Revision:

Revision 7293 - Directory Listing
Modified Sat Feb 9 12:20:39 2013 UTC (11 years, 2 months ago) by tv
(install_logger) keep a separate counter for erasures

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

Revision 7280 - Directory Listing
Modified Tue Feb 5 14:31:05 2013 UTC (11 years, 2 months ago) by tv
(install_logger) unify with callback_uninst(), thus fixing counting for
erasures

(callback_uninst) restore quiet behavior when not in verbose mode

(install) temporary set $urpm->{trans}

adapt testsuite

Revision 7266 - Directory Listing
Modified Sun Feb 3 22:18:23 2013 UTC (11 years, 2 months ago) by tv
(callback_uninst) display erasure progress

inspirated from install_logger()

adjust testsuite accordingly

Revision 7265 - Directory Listing
Modified Sun Feb 3 22:18:19 2013 UTC (11 years, 2 months ago) by tv
wrap comment

Revision 7251 - Directory Listing
Modified Thu Jan 31 20:14:02 2013 UTC (11 years, 2 months ago) by tv
fix that test when prelink is installed

Revision 6686 - Directory Listing
Modified Mon Dec 10 18:19:07 2012 UTC (11 years, 4 months ago) by guillomovitch
revert my previous commits, this was a bad anyway

Revision 6643 - Directory Listing
Modified Sat Dec 8 10:21:10 2012 UTC (11 years, 4 months ago) by guillomovitch
drop executable bit, as for other tests

Revision 6620 - Directory Listing
Modified Thu Dec 6 18:58:17 2012 UTC (11 years, 4 months ago) by guillomovitch
obsoleted by pod-syntax.t

Revision 6619 - Directory Listing
Modified Thu Dec 6 18:57:43 2012 UTC (11 years, 4 months ago) by guillomovitch
oops, forgotten during previous commit

Revision 6618 - Directory Listing
Modified Thu Dec 6 18:57:01 2012 UTC (11 years, 4 months ago) by guillomovitch
rename pod-related tests

Revision 6586 - Directory Listing
Modified Wed Dec 5 12:19:52 2012 UTC (11 years, 4 months ago) by guillomovitch
initial import

Revision 6584 - Directory Listing
Modified Wed Dec 5 12:13:29 2012 UTC (11 years, 4 months ago) by guillomovitch
initial import

Revision 6583 - Directory Listing
Modified Wed Dec 5 12:10:04 2012 UTC (11 years, 4 months ago) by guillomovitch
use Test::Compile for more automation

Revision 6582 - Directory Listing
Modified Wed Dec 5 12:09:36 2012 UTC (11 years, 4 months ago) by guillomovitch
initial import

Revision 6155 - Directory Listing
Modified Thu Oct 4 14:41:48 2012 UTC (11 years, 6 months ago) by tv
drop support for rpm5

Revision 5506 - Directory Listing
Modified Fri Aug 31 16:46:01 2012 UTC (11 years, 7 months ago) by tv
(test_urpmi) ignore new "SECURITY:" messages

Revision 5465 - Directory Listing
Modified Fri Aug 31 16:44:25 2012 UTC (11 years, 7 months ago) by tv
fix testsuite: use new --no-verify-rpm option

Revision 4913 - Directory Listing
Modified Wed Jun 13 18:43:22 2012 UTC (11 years, 10 months ago) by tv
silent a 4years+ old warning when running testsuite

option --src is deprecated by --buildrequires since commit r233081
by pixel on Fri Jan 18 2008...

Revision 4891 - Directory Listing
Modified Fri Jun 8 18:52:46 2012 UTC (11 years, 10 months ago) by tv
fix a testsuite regression with rpm-4.10.0

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)"

Revision 4853 - Directory Listing
Modified Fri Jun 8 18:50:46 2012 UTC (11 years, 10 months ago) by tv
fix testsuite faillure introduced in commit r3103 on Feb 27 2012:

"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

Revision 4852 - Directory Listing
Modified Fri Jun 8 18:50:43 2012 UTC (11 years, 10 months ago) by tv
(system_should_partially_fail,urpmi_partial) introduce them for next commit

Revision 4851 - Directory Listing
Modified Fri Jun 8 18:50:40 2012 UTC (11 years, 10 months ago) by tv
(test_exotic_medium_name) skip test when building as root in /root

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...

Revision 4849 - Directory Listing
Modified Fri Jun 8 18:50:32 2012 UTC (11 years, 10 months ago) by tv
fix 4years+ old warning when running testsuite

-option --src is deprecated by --buildrequires since commit r233081 by
pixel on Fri Jan 18 2008...

Revision 3100 - Directory Listing
Modified Mon Feb 27 20:49:25 2012 UTC (12 years, 1 month ago) by tv
(handle_need_restart) enable to test "should restart" again

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")

Revision 3094 - Directory Listing
Modified Mon Feb 27 20:42:17 2012 UTC (12 years, 1 month ago) by tv
(system_should_fail) on some error questions ("Do you want to...
(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

Revision 2949 - Directory Listing
Modified Tue Feb 14 20:56:12 2012 UTC (12 years, 2 months ago) by tv
kill unused DUDF support (mga#4493)

Revision 2779 - Directory Listing
Modified Mon Jan 23 20:14:37 2012 UTC (12 years, 3 months ago) by tv
do not test urpm::dudf

Revision 2470 - Directory Listing
Modified Sun Dec 18 03:31:54 2011 UTC (12 years, 4 months ago) by tv
fix another stupide failure

Revision 2469 - Directory Listing
Modified Sun Dec 18 03:23:58 2011 UTC (12 years, 4 months ago) by tv
fix stupid testsuite faillure on mageia...

Revision 1928 - Directory Listing
Added Tue Sep 13 20:44:28 2011 UTC (12 years, 7 months ago) by dmorgan
Import urpmi

  ViewVC Help
Powered by ViewVC 1.1.30