summaryrefslogtreecommitdiff
path: root/test/integration/test-policy-pinning
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-09-26 22:45:18 +0200
committerMichael Vogt <mvo@debian.org>2014-09-26 23:33:57 +0200
commitbca84917c326fa3158e120147c8aecebe0789b47 (patch)
tree005e2998d4f9499c422d16ea028631086c31c2ee /test/integration/test-policy-pinning
parent631a7dc7906a10ccd5f14dcfe42224e6107e11f6 (diff)
test fixes
Diffstat (limited to 'test/integration/test-policy-pinning')
-rwxr-xr-xtest/integration/test-policy-pinning3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/test-policy-pinning b/test/integration/test-policy-pinning
index 8eb4bcbad..2281d7a1d 100755
--- a/test/integration/test-policy-pinning
+++ b/test/integration/test-policy-pinning
@@ -28,7 +28,7 @@ Pinned packages:" aptcache policy $*
aptgetupdate() {
# just to be sure that no old files are used
rm -rf rootdir/var/lib/apt
- if aptget update -qq 2>&1 | grep '^E: '; then
+ if aptget update --allow-unauthenticated -qq 2>&1 | grep '^E: '; then
msgwarn 'apt-get update failed with an error'
fi
}
@@ -36,6 +36,7 @@ aptgetupdate() {
### not signed archive
aptgetupdate
+
testequalpolicy 100 500
testequalpolicy 990 500 -t now