| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
explanations: rpm-4.14.2 spits more error messsages which can mess up
Test::* if eg some space or other characters happen before "ok X"
so just redirect all rpm output to /dev/null
|
|
|
|
|
|
| |
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
|
|
|
|
| |
...which fixed %preun not aborting package erasure
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
basically reverting commit 5d7414cd5dc0c7dbdfe5314df4253cb14f86e9b2
and inversing the test expected result
needs rpm-4.12.90-2.mga6 or newer
|
|
|
|
|
| |
needed for next commit because:
lua's exit(1) is ignored since rpm-4.9.0
|
| |
|
|
|
|
| |
needed for next commits
|
|
|
|
| |
(needed for next commit)
|
|
|
|
| |
uneeded since rpm-4.6.0
|
| |
|
|
|
|
| |
(uneeded since rpm-4.6+ ...)
|
|
|
|
| |
thus fixing noise in testsuite output
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
needed due to perl-5.18 random keys order
|
|
|
|
|
|
| |
needed due to perl-5.18 random keys order
it could alternatively be workarounded by sorting packages in genhdlist2
|
|
|
|
| |
(needed for next commit)
|
|
|
|
| |
(needed for next commit)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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'
];
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
erasures
(callback_uninst) restore quiet behavior when not in verbose mode
(install) temporary set $urpm->{trans}
adapt testsuite
|
|
|
|
|
|
| |
inspirated from install_logger()
adjust testsuite accordingly
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
option --src is deprecated by --buildrequires since commit r233081
by pixel on Fri Jan 18 2008...
|
|
|
|
|
|
|
|
| |
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 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
|
| |
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
| |
-option --src is deprecated by --buildrequires since commit r233081 by
pixel on Fri Jan 18 2008...
|
|
|
|
|
| |
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")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|