]>
Commit | Line | Data |
---|---|---|
6d73fe5b MV |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
4 | TESTDIR=$(readlink -f $(dirname $0)) | |
5 | . $TESTDIR/framework | |
6 | ||
7 | setupenvironment | |
8 | configarchitecture "i386" | |
9 | ||
10 | DESCR='Some description | |
11 | That has multiple lines' | |
12 | insertpackage 'unstable' 'foo' 'all' '1.0' '' '' "$DESCR" | |
13 | ||
14 | setupaptarchive | |
15 | ||
16 | APTARCHIVE=$(readlink -f ./aptarchive) | |
17 | ||
18 | # note that we do not display Description-md5 with the "apt" cmd | |
19 | testequal "Package: foo | |
20 | Priority: optional | |
21 | Section: other | |
9e51c0b6 | 22 | Installed-Size: 43.0 k |
6d73fe5b MV |
23 | Maintainer: Joe Sixpack <joe@example.org> |
24 | Architecture: all | |
25 | Version: 1.0 | |
26 | Filename: pool/main/foo/foo_1.0_all.deb | |
9e51c0b6 | 27 | Download-Size: unknown |
6d73fe5b MV |
28 | Description: Some description |
29 | That has multiple lines | |
30 | " apt show foo |