summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-543966-downgrade-below-1000-pin
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-10 15:36:51 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-10 15:36:51 +0200
commit76b004d1a2122206925abc1a412e055430cef283 (patch)
tree85ad2c8eb43a9dfccd4e57ab3b6f4c6b5e3e75b5 /test/integration/test-bug-543966-downgrade-below-1000-pin
parent3436218c5fbbd7ff543863dc4c2d590b9f12c377 (diff)
Fix test case breakage from the new policy implementation
Everything's working now.
Diffstat (limited to 'test/integration/test-bug-543966-downgrade-below-1000-pin')
-rwxr-xr-xtest/integration/test-bug-543966-downgrade-below-1000-pin14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/integration/test-bug-543966-downgrade-below-1000-pin b/test/integration/test-bug-543966-downgrade-below-1000-pin
index 180393867..ede9ad6aa 100755
--- a/test/integration/test-bug-543966-downgrade-below-1000-pin
+++ b/test/integration/test-bug-543966-downgrade-below-1000-pin
@@ -19,9 +19,9 @@ testsuccessequal "base-files:
Installed: 5.0.0-1
Candidate: 5.0.0-1
Version table:
- *** 5.0.0-1 0
+ *** 5.0.0-1 100
100 $STATUS
- 5.0.0 0
+ 5.0.0 500
500 file:${APTARCHIVE} unstable/main i386 Packages" aptcache policy base-files -o apt::pin=0
writepin() {
@@ -34,7 +34,7 @@ Pin-Priority: $2" > rootdir/etc/apt/preferences
testpinning() {
local PKGPIN=''
- local PKGPINPRIO='0'
+ local PKGPINPRIO=''
local REPPINPRIO=''
if [ "$1" != '*' ]; then
PKGPINPRIO=''
@@ -47,7 +47,7 @@ testpinning() {
Installed: 5.0.0-1
Candidate: 5.0.0-1
${PKGPIN}Version table:
- *** 5.0.0-1 ${PKGPINPRIO:-99}
+ *** 5.0.0-1 100
100 $STATUS
5.0.0 ${PKGPINPRIO:-99}
${REPPINPRIO:- 99} file:${APTARCHIVE} unstable/main i386 Packages" aptcache policy base-files -o apt::pin=99
@@ -57,7 +57,7 @@ testpinning() {
Installed: 5.0.0-1
Candidate: 5.0.0-1
${PKGPIN}Version table:
- *** 5.0.0-1 ${PKGPINPRIO:-100}
+ *** 5.0.0-1 100
100 $STATUS
5.0.0 ${PKGPINPRIO:-100}
${REPPINPRIO:- 100} file:${APTARCHIVE} unstable/main i386 Packages" aptcache policy base-files -o apt::pin=100
@@ -67,7 +67,7 @@ testpinning() {
Installed: 5.0.0-1
Candidate: 5.0.0-1
${PKGPIN}Version table:
- *** 5.0.0-1 ${PKGPINPRIO:-999}
+ *** 5.0.0-1 100
100 $STATUS
5.0.0 ${PKGPINPRIO:-999}
${REPPINPRIO:- 999} file:${APTARCHIVE} unstable/main i386 Packages" aptcache policy base-files -o apt::pin=999
@@ -77,7 +77,7 @@ testpinning() {
Installed: 5.0.0-1
Candidate: 5.0.0
${PKGPIN}Version table:
- *** 5.0.0-1 ${PKGPINPRIO:-1000}
+ *** 5.0.0-1 100
100 $STATUS
5.0.0 ${PKGPINPRIO:-1000}
${REPPINPRIO:-1000} file:${APTARCHIVE} unstable/main i386 Packages" aptcache policy base-files -o apt::pin=1000