summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-update-ims
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-09-10 21:10:17 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-09-14 15:22:18 +0200
commit90b56f542e0ae722c843265f4e6250cc0a096f5d (patch)
treefb7de3ac37e39becd4d67e2f7646b03a06af6483 /test/integration/test-apt-update-ims
parent95278287f4e1eeaf5d96749d6fc9bfc53fb400d0 (diff)
tests: use more 'native' instead of 'amd64' if possible
The tests usually run on amd64 boxes, but once in a while I run it on a (slow) armel box as well, which has its fair share of problems with some tests, but at least the low hanging fruits can be dealt with: Do not assume that amd64 is the native dpkg architecture – instead use whatever dpkg thinks is native as architecture for the test. Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-apt-update-ims')
-rwxr-xr-xtest/integration/test-apt-update-ims2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-apt-update-ims b/test/integration/test-apt-update-ims
index ed89cd342..80ef28093 100755
--- a/test/integration/test-apt-update-ims
+++ b/test/integration/test-apt-update-ims
@@ -25,7 +25,7 @@ runtest() {
$TEST aptget update
if [ "$1" = 'failure' ]; then
# accept the outdated Release file so we can check Hit behaviour
- "test${2:-success}" aptget update -o Acquire::Min-ValidTime=99999999999
+ "test${2:-success}" aptget update -o Acquire::Min-ValidTime=9999999
fi
listcurrentlistsdirectory > listsdir.lst
testsuccess grep '_Packages\(\.gz\)\?$' listsdir.lst