projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup pkgAcqIndex
[apt.git]
/
test
/
integration
/
test-policy-pinning
diff --git
a/test/integration/test-policy-pinning
b/test/integration/test-policy-pinning
index 8eb4bcbadffc7b2a0d02560855392bf935505e3c..c08a2f103d3fd611b696b6b28f625b971f224c51 100755
(executable)
--- 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
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-insecure-repositories
-qq 2>&1 | grep '^E: '; then
msgwarn 'apt-get update failed with an error'
fi
}
msgwarn 'apt-get update failed with an error'
fi
}
@@
-36,6
+36,7
@@
aptgetupdate() {
### not signed archive
aptgetupdate
### not signed archive
aptgetupdate
+
testequalpolicy 100 500
testequalpolicy 990 500 -t now
testequalpolicy 100 500
testequalpolicy 990 500 -t now