From 953108fb283154396e50c92fa1804734cb3c455d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 7 Sep 2007 12:18:29 +0000 Subject: add another test --- t/superuser--split-transactions--conflict.t | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 't') 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 +} -- cgit v1.2.1