summaryrefslogtreecommitdiffstats
path: root/t/superuser--failing-promotion.t
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-08 18:50:46 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-08 18:50:46 +0000
commit34b0c13bce43796a09724d30eb90f2d6545d71d5 (patch)
tree4522f0b369fbf186e94eff8f246bd83535988401 /t/superuser--failing-promotion.t
parent0a1719e9c340767641112ab79120cae41669f755 (diff)
downloadurpmi-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--failing-promotion.t')
-rw-r--r--t/superuser--failing-promotion.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/superuser--failing-promotion.t b/t/superuser--failing-promotion.t
index aaa80f26..64f5b258 100644
--- a/t/superuser--failing-promotion.t
+++ b/t/superuser--failing-promotion.t
@@ -43,7 +43,7 @@ urpmi_addmedia("$name $::pwd/media/$name");
# bug #50666
urpmi("--auto a-1 c-1 b-1");
check_installed_fullnames("a-1-1", "c-1-1", "b-1-1");
-urpmi("--auto a");
+urpmi_partial("--auto a");
check_installed_fullnames_and_remove("a-2-1");
# bug #57224