]> git.saurik.com Git - apt.git/blame - test/integration/test-srcrecord
fix testcase expecting incorrect remove log from dpkg
[apt.git] / test / integration / test-srcrecord
CommitLineData
ce6cd75d
JAK
1#!/bin/sh
2set -e
3
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
6
7setupenvironment
8configarchitecture 'native'
9
10cat > aptarchive/Sources <<EOF
11Package: space-before-comma
12Binary: space-before-comma1 , space-before-comma2
13Version: 1.0
14Maintainer: Joe Sixpack <joe@example.org>
15Architecture: all
16
17Package: broken-field
18Binary:, broken-field2
19Version: 1.0
20Maintainer: Joe Sixpack <joe@example.org>
21Architecture: all
22
23Package: broken-field-b
24Binary: , broken-field-b2
25Version: 1.0
26Maintainer: Joe Sixpack <joe@example.org>
27Architecture: all
28EOF
29
30setupaptarchive --no-update
31
32testsuccess aptget update
33testsuccess aptcache showsrc space-before-comma1
34testsuccess aptcache showsrc broken-field2
35testsuccess aptcache showsrc broken-field-b2