]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-633350-do-not-kill-last-char-in-Release
Use _apt as our unprivileged user name
[apt.git] / test / integration / test-bug-633350-do-not-kill-last-char-in-Release
index 3d3835507ffd8575e71ebccec002cccec2adb34f..988f8c9d0f35dd76194a5ea879c9386495dc2e4e 100755 (executable)
@@ -8,14 +8,14 @@ configarchitecture 'amd64'
 
 insertpackage 'unstable' 'cool' 'amd64' '1.0'
 
 
 insertpackage 'unstable' 'cool' 'amd64' '1.0'
 
-setupaptarchive 2> /dev/null
+setupaptarchive --no-update
 
 echo 'NotAutomatic: yes' >> aptarchive/dists/unstable/Release
 
 signreleasefiles
 find aptarchive/dists -name 'InRelease' -delete
 
 
 echo 'NotAutomatic: yes' >> aptarchive/dists/unstable/Release
 
 signreleasefiles
 find aptarchive/dists -name 'InRelease' -delete
 
-rm -rf rootdir/var/lib/apt/lists rootdir/var/cache/apt
+rm -rf rootdir/var/lib/apt/lists
 
 OUTPUT="$(aptget update 2>&1)"
 msgtest 'Check that parsing happens without warnings' 'with missing newline'
 
 OUTPUT="$(aptget update 2>&1)"
 msgtest 'Check that parsing happens without warnings' 'with missing newline'