summaryrefslogtreecommitdiffstats
path: root/t/superuser--split-transactions--conflict.t
diff options
context:
space:
mode:
Diffstat (limited to 't/superuser--split-transactions--conflict.t')
-rw-r--r--t/superuser--split-transactions--conflict.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/superuser--split-transactions--conflict.t b/t/superuser--split-transactions--conflict.t
index a0332283..ff3a089d 100644
--- a/t/superuser--split-transactions--conflict.t
+++ b/t/superuser--split-transactions--conflict.t
@@ -29,6 +29,9 @@ test_d('--split-level 1');
test_e('--split-length 0');
test_e('--split-level 1');
+test_ae('--split-length 0');
+test_ae('--split-level 1');
+
sub test {
my ($option) = @_;
@@ -60,3 +63,13 @@ sub test_e {
urpmi("--media $name-2 --auto $option c");
check_installed_fullnames_and_remove('c-1-1');
}
+
+sub test_ae {
+ my ($option) = @_;
+
+ urpmi("--auto a");
+ check_installed_fullnames_and_remove('a-1-1', 'b-2-1', 'd-1-1');
+
+ urpmi("--media $name-2 --auto $option e");
+ check_installed_fullnames_and_remove('c-1-1', 'e-2-1'); # no other solution
+}