summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-07 12:18:29 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-07 12:18:29 +0000
commit953108fb283154396e50c92fa1804734cb3c455d (patch)
tree04958dd0f6a7dd355515d2b32ed3c13a3077f743
parent8ec15d1f9bb2a1352f9698981f48f95dad76f56d (diff)
downloadurpmi-953108fb283154396e50c92fa1804734cb3c455d.tar
urpmi-953108fb283154396e50c92fa1804734cb3c455d.tar.gz
urpmi-953108fb283154396e50c92fa1804734cb3c455d.tar.bz2
urpmi-953108fb283154396e50c92fa1804734cb3c455d.tar.xz
urpmi-953108fb283154396e50c92fa1804734cb3c455d.zip
add another test
-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
+}