]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-cve-2013-1051-InRelease-parsing
Merge remote-tracking branch 'donkult/debian/sid' into debian/sid
[apt.git] / test / integration / test-cve-2013-1051-InRelease-parsing
index bd68fccf617e59af6b5e320f372291ef13e71e12..6764feffffc09cf56546a1094d0ad23fcb19e01d 100755 (executable)
@@ -12,7 +12,7 @@ insertpackage 'stable' 'good-pkg' 'all' '1.0'
 setupaptarchive
 
 changetowebserver
-ARCHIVE='http://localhost/'
+ARCHIVE='http://localhost:8080/'
 msgtest 'Initial apt-get update should work with' 'InRelease'
 aptget update -qq && msgpass || msgfail
 
@@ -37,7 +37,7 @@ sed -i '/^-----BEGIN PGP SIGNATURE-----/,/^-----END PGP SIGNATURE-----/ s/^$/  /
 
 # we append the (evil unsigned) Release file to the (good signed) InRelease
 cat aptarchive/dists/stable/Release >> aptarchive/dists/stable/InRelease
-
+touch -d '+1hour' aptarchive/dists/stable/InRelease
 
 # ensure the update fails
 # useful for debugging to add "-o Debug::pkgAcquire::auth=true"