]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-633350-do-not-kill-last-char-in-Release
treat .ddeb files like .deb, especially for dpkg
[apt.git] / test / integration / test-bug-633350-do-not-kill-last-char-in-Release
index c0802e8b557cce837d21168692d351f923f95897..d7dd261f6982ef5a7d4faf64c16238c6122845ec 100755 (executable)
@@ -8,20 +8,9 @@ configarchitecture 'amd64'
 
 insertpackage 'unstable' 'cool' 'amd64' '1.0'
 
 
 insertpackage 'unstable' 'cool' 'amd64' '1.0'
 
+export APT_DONT_SIGN='InRelease'
 setupaptarchive --no-update
 
 echo 'NotAutomatic: yes' >> aptarchive/dists/unstable/Release
 setupaptarchive --no-update
 
 echo 'NotAutomatic: yes' >> aptarchive/dists/unstable/Release
-
 signreleasefiles
 signreleasefiles
-find aptarchive/dists -name 'InRelease' -delete
-
-rm -rf rootdir/var/lib/apt/lists
-
-OUTPUT="$(aptget update 2>&1)"
-msgtest 'Check that parsing happens without warnings' 'with missing newline'
-if echo "${OUTPUT}" | grep '^W:' > /dev/null; then
-       msgfail
-       echo "${OUTPUT}"
-else
-       msgpass
-fi
+testsuccess aptget update