diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-07 15:03:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-07 15:03:25 +0000 |
commit | 32c5cd9ec00754569d8b4284b12ae81727a258e8 (patch) | |
tree | b86ba589dbd3e420185edd6035fb0d90c39af5f7 /t/superuser--split-transactions--promote.t | |
parent | 379179afcd2a68ff3d315357031cfbf6563dfc98 (diff) | |
download | urpmi-32c5cd9ec00754569d8b4284b12ae81727a258e8.tar urpmi-32c5cd9ec00754569d8b4284b12ae81727a258e8.tar.gz urpmi-32c5cd9ec00754569d8b4284b12ae81727a258e8.tar.bz2 urpmi-32c5cd9ec00754569d8b4284b12ae81727a258e8.tar.xz urpmi-32c5cd9ec00754569d8b4284b12ae81727a258e8.zip |
add a reverse conflict test case, not nicely handled at the moment
Diffstat (limited to 't/superuser--split-transactions--promote.t')
-rw-r--r-- | t/superuser--split-transactions--promote.t | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/t/superuser--split-transactions--promote.t b/t/superuser--split-transactions--promote.t index bbee7f5b..f3bb1d9d 100644 --- a/t/superuser--split-transactions--promote.t +++ b/t/superuser--split-transactions--promote.t @@ -9,6 +9,8 @@ # # e-2 conflicts with f-1 # +# g-2 conflicts with h-1 +# use strict; use lib '.', 't'; use helper; @@ -37,6 +39,9 @@ sub test { #- below need the promotion of "f-2" (upgraded from "f-1") to work test_ef("$split e"); + + #- WARNING: below would need the promotion of "h-2" (upgraded from "e-1") + test_gh("$split g"); } sub test_ab { @@ -68,3 +73,13 @@ sub test_ef { urpmi("--media $name-2 --auto $para"); check_installed_fullnames_and_remove('e-2-1', 'f-2-1'); } + +sub test_gh { + my ($para) = @_; + + urpmi("--media $name-1 --auto g h"); + check_installed_names('g', 'h'); + + urpmi("--media $name-2 --auto $para"); + check_installed_fullnames_and_remove('g-2-1'); # WARNING +} |