diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-10-07 13:17:16 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-10-07 13:17:16 +0200 |
commit | c86bc8515a3a195aa244a1743476b102d72c9a2a (patch) | |
tree | 5ad4e101af4f83bf696a5f434e96a0fe832d5e32 /test/integration/test-cve-2013-1051-InRelease-parsing | |
parent | 5b33fab8c9a8c26cbc8ce3bf5e1573279d7884b3 (diff) |
fix test-cve-2013-1051-InRelease-parsing (fails now in the method)
Diffstat (limited to 'test/integration/test-cve-2013-1051-InRelease-parsing')
-rwxr-xr-x | test/integration/test-cve-2013-1051-InRelease-parsing | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-cve-2013-1051-InRelease-parsing b/test/integration/test-cve-2013-1051-InRelease-parsing index 41b27f691..8f9803991 100755 --- a/test/integration/test-cve-2013-1051-InRelease-parsing +++ b/test/integration/test-cve-2013-1051-InRelease-parsing @@ -42,7 +42,7 @@ touch -d '+1hour' aptarchive/dists/stable/InRelease # ensure the update fails # useful for debugging to add "-o Debug::pkgAcquire::auth=true" msgtest 'apt-get update for should fail with the modified' 'InRelease' -aptget update 2>&1 | grep -q 'Hash Sum mismatch' > /dev/null && msgpass || msgfail +aptget update 2>&1 | grep -E -q '(Writing more data than expected|Hash Sum mismatch)' > /dev/null && msgpass || msgfail # ensure there is no package testequal 'Reading package lists... |