diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-06-08 18:50:46 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-06-08 18:50:46 +0000 |
commit | 34b0c13bce43796a09724d30eb90f2d6545d71d5 (patch) | |
tree | 4522f0b369fbf186e94eff8f246bd83535988401 /t/superuser--handle-conflict-deps2.t | |
parent | 0a1719e9c340767641112ab79120cae41669f755 (diff) | |
download | urpmi-34b0c13bce43796a09724d30eb90f2d6545d71d5.tar urpmi-34b0c13bce43796a09724d30eb90f2d6545d71d5.tar.gz urpmi-34b0c13bce43796a09724d30eb90f2d6545d71d5.tar.bz2 urpmi-34b0c13bce43796a09724d30eb90f2d6545d71d5.tar.xz urpmi-34b0c13bce43796a09724d30eb90f2d6545d71d5.zip |
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
Diffstat (limited to 't/superuser--handle-conflict-deps2.t')
-rw-r--r-- | t/superuser--handle-conflict-deps2.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/superuser--handle-conflict-deps2.t b/t/superuser--handle-conflict-deps2.t index a68ba195..5894e1b4 100644 --- a/t/superuser--handle-conflict-deps2.t +++ b/t/superuser--handle-conflict-deps2.t @@ -38,7 +38,7 @@ sub test { system_should_fail("echo n | " . urpmi_cmd() . " @$wanted"); check_installed_fullnames(map { "$_-1" } @$first); - urpmi("--auto @$wanted"); + urpmi_partial("--auto @$wanted"); if (system("rpm -q --quiet --root $::pwd/root ".@$result1[0]) == 0) { check_installed_fullnames_and_remove(map { "$_-1" } @$result1); |