summaryrefslogtreecommitdiffstats
path: root/t/superuser--split-transactions.t
diff options
context:
space:
mode:
Diffstat (limited to 't/superuser--split-transactions.t')
-rw-r--r--t/superuser--split-transactions.t14
1 files changed, 11 insertions, 3 deletions
diff --git a/t/superuser--split-transactions.t b/t/superuser--split-transactions.t
index 54e2bed4..1b8d3a61 100644
--- a/t/superuser--split-transactions.t
+++ b/t/superuser--split-transactions.t
@@ -14,7 +14,7 @@ need_root_and_prepare();
my $name = 'split-transactions';
urpmi_addmedia("$name $::pwd/media/$name");
-test_urpmi("--auto --split-length 1 c d", <<'EOF');
+test_urpmi("--auto --split-length 1 c d", <<'EOF', <<'EOF');
Preparing...
1/4: a
2/4: b
@@ -23,10 +23,18 @@ Preparing...
Preparing...
4/4: d
EOF
+Preparing...
+ 1/4: b
+ 2/4: a
+Preparing...
+ 3/4: c
+Preparing...
+ 4/4: d
+EOF
check_installed_names('a', 'b', 'c', 'd');
sub test_urpmi {
- my ($para, $wanted) = @_;
+ my ($para, $wanted_a, $wanted_b) = @_;
my $s = run_urpm_cmd("urpmi $para");
print $s;
@@ -34,5 +42,5 @@ sub test_urpmi {
$s =~ s/^installing .*//gm;
$s =~ s/^\n//gm;
- ok($s eq $wanted, "$wanted in $s");
+ ok($s eq $wanted_a || $s eq $wanted_b, "$wanted_a in $s");
}
keSoft to MandrivaThierry Vignaud2005-04-21124-14571/+14571 | * create common::release_file() and use itPascal Rigaux2005-04-212-4/+8 | * use simplify-drakx-modulesPascal Rigaux2005-04-211-3/+3 | * switch from MandrakeSoft to Mandriva in scannerdrake & printerdrakeThierry Vignaud2005-04-212-4/+4 | * switch from MandrakeSoft to Mandriva in copyright noticesThierry Vignaud2005-04-2130-33/+33 | * 10.3-0.4mdkThierry Vignaud2005-04-211-1/+4 | * updateThierry Vignaud2005-04-211-7/+7 | * (ConnectNow) simplifyThierry Vignaud2005-04-211-3/+1 | * updateThierry Vignaud2005-04-211-4/+4 | * updateThierry Vignaud2005-04-211-24/+24 | * updateThierry Vignaud2005-04-211-12/+14 | * updateThierry Vignaud2005-04-2171-198583/+207713 | * remove useless merge2 ruleThierry Vignaud2005-04-211-3/+0 | * sync LAN stringThierry Vignaud2005-04-2124-48/+48 | * rename "ethernet connection" as "LAN connection" like anywhere sinceThierry Vignaud2005-04-211-1/+1 | | | | | | | we're going to support tokenring and not just LAN (what's more, these steps are whered with wireless connections which have nothing to do with ethernet....) * 10.3-0.3mdkThierry Vignaud2005-04-211-1/+6 | * update string for new drakroamThierry Vignaud2005-04-21