summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-08-02 05:37:43 +0200
committerMichael Vogt <mvo@debian.org>2014-08-02 05:37:43 +0200
commit63b7249e6930c1bcb69bac32f10108119eeacc2a (patch)
tree0d8221c0569a66aa5e22d9d3dfb6301749aee158 /test
parente84d3803ed3bdd55e20e3720b375769330966fa0 (diff)
add ims check verify
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-update-ims3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/test-apt-update-ims b/test/integration/test-apt-update-ims
index cf2b28bb5..3bd6e843c 100755
--- a/test/integration/test-apt-update-ims
+++ b/test/integration/test-apt-update-ims
@@ -20,3 +20,6 @@ Hit http://localhost:8080 unstable/main amd64 Packages
Hit http://localhost:8080 unstable/main Translation-en
Reading package lists..." aptget update
+# ensure that we still do a hash check on ims hit
+msgtest 'Test I-M-S reverify'
+aptget update -o Debug::pkgAcquire::Auth=1 2>&1 | grep -A1 'RecivedHash:' | grep -q -- '- SHA' && msgpass || msgfail