]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-cve-2013-1051-InRelease-parsing
tests: check apt-get source release name switching with -t
[apt.git] / test / integration / test-cve-2013-1051-InRelease-parsing
index d9917455320fb159ff04edf8409b4764f5e7e2ad..a503ad0fea82734e7ea8af0a99dad6f99ad94c4d 100755 (executable)
@@ -12,7 +12,7 @@ insertpackage 'stable' 'good-pkg' 'all' '1.0'
 setupaptarchive
 
 changetowebserver
-ARCHIVE='http://localhost:8080/'
+ARCHIVE='http://localhost:8080'
 msgtest 'Initial apt-get update should work with' 'InRelease'
 testsuccess --nomsg aptget update
 
@@ -21,7 +21,7 @@ testsuccessequal "good-pkg:
   Installed: (none)
   Candidate: 1.0
   Version table:
-     1.0 0
+     1.0 500
         500 ${ARCHIVE} stable/main i386 Packages" aptcache policy good-pkg
 
 # now exchange to the Packages file, note that this could be
@@ -62,5 +62,5 @@ testsuccessequal "good-pkg:
   Installed: (none)
   Candidate: 1.0
   Version table:
-     1.0 0
+     1.0 500
         500 ${ARCHIVE} stable/main i386 Packages" aptcache policy good-pkg