summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-01-30 15:53:11 +0200
committerTimo Teräs <timo.teras@iki.fi>2015-01-30 15:53:11 +0200
commitcab03b6912ba4dc85d72ad0abfcd99f4fd935876 (patch)
treebf281dc98957c13f369f9ad1b44a36311831d923 /test
parentcd6786bc30ef4e6443dd45604863c9619a346681 (diff)
downloadapk-tools-cab03b6912ba4dc85d72ad0abfcd99f4fd935876.tar.gz
apk-tools-cab03b6912ba4dc85d72ad0abfcd99f4fd935876.tar.bz2
apk-tools-cab03b6912ba4dc85d72ad0abfcd99f4fd935876.tar.xz
apk-tools-cab03b6912ba4dc85d72ad0abfcd99f4fd935876.zip
sort world dependencies alphabetically
this makes 'lbu diff' and aaudit diffs nice when a world dependency is added or removed. sorting also makes the ordering more deterministic as the world targets constraints are always applied in the same order. test suite updated accordingly.
Diffstat (limited to 'test')
-rw-r--r--test/installif1.test6
-rw-r--r--test/installif2.test12
-rw-r--r--test/installif3.test6
-rw-r--r--test/provides4.test4
4 files changed, 14 insertions, 14 deletions
diff --git a/test/installif1.test b/test/installif1.test
index ca3aeeb..117e397 100644
--- a/test/installif1.test
+++ b/test/installif1.test
@@ -2,8 +2,8 @@
--test-repo installif1.repo
add foo app
@EXPECT
-(1/4) Installing foo (1)
-(2/4) Installing lib (1)
-(3/4) Installing app (1)
+(1/4) Installing lib (1)
+(2/4) Installing app (1)
+(3/4) Installing foo (1)
(4/4) Installing appiif1 (1)
OK: 0 MiB in 0 packages
diff --git a/test/installif2.test b/test/installif2.test
index 85f66dc..c5c10e9 100644
--- a/test/installif2.test
+++ b/test/installif2.test
@@ -2,10 +2,10 @@
--test-repo installif1.repo
add foo app bar
@EXPECT
-(1/6) Installing foo (1)
-(2/6) Installing lib (1)
-(3/6) Installing app (1)
-(4/6) Installing appiif1 (1)
-(5/6) Installing bar (1)
-(6/6) Installing appiif2 (1)
+(1/6) Installing lib (1)
+(2/6) Installing app (1)
+(3/6) Installing bar (1)
+(4/6) Installing appiif2 (1)
+(5/6) Installing foo (1)
+(6/6) Installing appiif1 (1)
OK: 0 MiB in 0 packages
diff --git a/test/installif3.test b/test/installif3.test
index f5ac259..1141577 100644
--- a/test/installif3.test
+++ b/test/installif3.test
@@ -3,8 +3,8 @@
--test-repo installif2.repo
add foo app
@EXPECT
-(1/4) Installing foo (1)
-(2/4) Installing lib (1)
-(3/4) Installing app (1)
+(1/4) Installing lib (1)
+(2/4) Installing app (1)
+(3/4) Installing foo (1)
(4/4) Installing appiif1 (1)
OK: 0 MiB in 0 packages
diff --git a/test/provides4.test b/test/provides4.test
index 6588926..e118ade 100644
--- a/test/provides4.test
+++ b/test/provides4.test
@@ -2,6 +2,6 @@
--test-repo provides.repo
add mymailreader mailreadplus
@EXPECT
-(1/2) Installing mymailreader (1)
-(2/2) Installing mailreadplus (1)
+(1/2) Installing mailreadplus (1)
+(2/2) Installing mymailreader (1)
OK: 0 MiB in 0 packages