summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-22 23:11:33 +0100
committerDan McGee <dan@archlinux.org>2011-01-22 23:29:32 +0100
commita99e7272b8703e54b3c96ac0fdb7fe7eacfabbe8 (patch)
tree65d3bf3f105c73627cb34331505ea0d6b9e5cf25 /test/pacman/tests
parentb3d71bf7d0ef8f577114bc39abecdc7ade0395dd (diff)
downloadpacman-a99e7272b8703e54b3c96ac0fdb7fe7eacfabbe8.tar.gz
pacman-a99e7272b8703e54b3c96ac0fdb7fe7eacfabbe8.tar.xz
pactest: sort repos by alpha order in config file
The order was non-deterministic before, and just happened to work for sync023.py as it was written. Ensure there is some sort of predictable ordering. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/tests')
-rw-r--r--test/pacman/tests/sync023.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pacman/tests/sync023.py b/test/pacman/tests/sync023.py
index 8233ab73..3644c9de 100644
--- a/test/pacman/tests/sync023.py
+++ b/test/pacman/tests/sync023.py
@@ -15,7 +15,8 @@ for p in lp1, lp2, lp3, sp1, sp2, sp3, newp1:
for p in lp1, lp2, lp3:
self.addpkg2db("local", p)
-self.addpkg2db("testing", newp1);
+# repos are sorted in alpha order
+self.addpkg2db("atesting", newp1);
for p in sp1, sp2, sp3:
self.addpkg2db("sync", p);