poldek: poldek/tests/sh/07-depsolver - more tests
mis
mis at pld-linux.org
Thu Oct 29 00:07:04 CET 2009
Author: mis Date: Wed Oct 28 23:07:04 2009 GMT
Module: poldek Tag: HEAD
---- Log message:
- more tests
---- Files affected:
poldek/poldek/tests/sh:
07-depsolver (1.11 -> 1.12)
---- Diffs:
================================================================
Index: poldek/poldek/tests/sh/07-depsolver
diff -u poldek/poldek/tests/sh/07-depsolver:1.11 poldek/poldek/tests/sh/07-depsolver:1.12
--- poldek/poldek/tests/sh/07-depsolver:1.11 Wed Oct 28 21:53:06 2009
+++ poldek/poldek/tests/sh/07-depsolver Thu Oct 29 00:06:59 2009
@@ -199,6 +199,7 @@
try_install_a "a,b\-1"
}
+# suggested packages should be installed
testSuggests() {
build_installed suggested
build a -s "suggested" -s "b" -s "c"
@@ -507,6 +508,27 @@
build a 2-2 -a amd64 -f "/hello.x86_64"
try_install a-2-2.amd64 "a-2-2.amd64" "a-1-1.x86_64"
POLDEK_INSTALL="$ORIG_POLDEK_INSTALL"
+}
+
+
+#
+testOrhpanSuccessorScore() {
+ #ORIG_POLDEK_INSTALL="$POLDEK_INSTALL"
+ #POLDEK_INSTALL="$POLDEK_INSTALL -Omultilib=1"
+
+ msgn "Preparing repositories..."
+ build_installed a 1.0-1
+ build_installed a-tools 1.0-1 -r "'a = 1.0'"
+
+ build a 1.5-1
+ build a-tools 1.5-1 -r "'a = 1.5'"
+
+ build a 2.0-1
+ build a-tools 2.0-1 -r "'a = 2.0'"
+
+
+ try_install a-1.5-1 "a-1.5-1,a-tools-1.5-1" "a-1.0-1,a-tools-1.0-1"
+ #POLDEK_INSTALL="$ORIG_POLDEK_INSTALL"
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/tests/sh/07-depsolver?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list