summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-09-29 15:59:15 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-10-04 09:26:33 +0200
commitb80626608ca6d63ba1c76ba4ad2aff86e1eacb2f (patch)
treef148653e4821ff71062cf25f78909aa3971e48d1 /t
parentd7d29865f5a892348d8b8580c6fb825e4411cc79 (diff)
downloadurpmi-b80626608ca6d63ba1c76ba4ad2aff86e1eacb2f.tar
urpmi-b80626608ca6d63ba1c76ba4ad2aff86e1eacb2f.tar.gz
urpmi-b80626608ca6d63ba1c76ba4ad2aff86e1eacb2f.tar.bz2
urpmi-b80626608ca6d63ba1c76ba4ad2aff86e1eacb2f.tar.xz
urpmi-b80626608ca6d63ba1c76ba4ad2aff86e1eacb2f.zip
add 2 other possible transaction orders
needed due to perl-5.18 random keys order it could alternatively be workarounded by sorting packages in genhdlist2
Diffstat (limited to 't')
-rw-r--r--t/superuser--split-transactions.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/superuser--split-transactions.t b/t/superuser--split-transactions.t
index 6ca5e5f2..3225568c 100644
--- a/t/superuser--split-transactions.t
+++ b/t/superuser--split-transactions.t
@@ -18,6 +18,8 @@ test_urpmi("--auto --split-length 1 c d",
acceptable_trans_orders(4,
[ [ qw(a b) ], ['c'], ['d'] ],
[ [ qw(b a) ], ['c'], ['d'] ],
+ [ ['d'], [ qw(b a) ], ['c'] ],
+ [ ['d'], [ qw(a b) ], ['c'] ],
));
check_installed_names('a', 'b', 'c', 'd');