]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-633350-do-not-kill-last-char-in-Release
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64'
9 insertpackage
'unstable' 'cool' 'amd64' '1.0'
11 setupaptarchive
2> /dev
/null
13 echo 'NotAutomatic: yes' >> aptarchive
/dists
/unstable
/Release
16 find aptarchive
/dists
-name 'InRelease' -delete
18 rm -rf rootdir
/var
/lib
/apt
/lists rootdir
/var
/cache
/apt
20 OUTPUT
="$(aptget update 2>&1)"
21 msgtest
'Check that parsing happens without warnings' 'with missing newline'
22 if echo "${OUTPUT}" | grep '^W:' > /dev
/null
; then