diff options
Diffstat (limited to 'test/integration/test-apt-update-stale')
-rwxr-xr-x | test/integration/test-apt-update-stale | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-apt-update-stale b/test/integration/test-apt-update-stale index 72b05a966..a8634582d 100755 --- a/test/integration/test-apt-update-stale +++ b/test/integration/test-apt-update-stale @@ -39,6 +39,6 @@ cp -p aptarchive/dists/unstable/main/binary-i386/saved/Packages* \ aptarchive/dists/unstable/main/binary-i386/ # ensure this raises an error -testfailuremsg "E: Failed to fetch http://localhost:${APTHTTPPORT}/dists/unstable/main/binary-i386/Packages.gz Hash Sum mismatch -E: Some index files failed to download. They have been ignored, or old ones used instead." aptget update -o Debug::pkgAcquire::Worker=1 -o Debug::Acquire::http=1 +testfailure aptget update -o Debug::pkgAcquire::Worker=1 -o Debug::Acquire::http=1 +testsuccess grep 'File has unexpected size' rootdir/tmp/testfailure.output testfileequal lists.before "$(listcurrentlistsdirectory)" |