]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-bug-633350-do-not-kill-last-char-in-Release
support DEB_BUILD_PROFILES and -P for build profiles
[apt.git] / test / integration / test-bug-633350-do-not-kill-last-char-in-Release
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64'
8
9insertpackage 'unstable' 'cool' 'amd64' '1.0'
10
11setupaptarchive --no-update
12
13echo 'NotAutomatic: yes' >> aptarchive/dists/unstable/Release
14
15signreleasefiles
16find aptarchive/dists -name 'InRelease' -delete
17
18rm -rf rootdir/var/lib/apt/lists
19
20OUTPUT="$(aptget update 2>&1)"
21msgtest 'Check that parsing happens without warnings' 'with missing newline'
22if echo "${OUTPUT}" | grep '^W:' > /dev/null; then
23 msgfail
24 echo "${OUTPUT}"
25else
26 msgpass
27fi