]> git.saurik.com Git - apt.git/blob - test/integration/test-apt-cli-show
Merge remote-tracking branch 'ajt/better-pdiffs-dk' into debian/sid
[apt.git] / test / integration / test-apt-cli-show
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
22 Installed-Size: 42
23 Maintainer: Joe Sixpack <joe@example.org>
24 Architecture: all
25 Version: 1.0
26 Filename: pool/main/foo/foo_1.0_all.deb
27 Description: Some description
28 That has multiple lines
29 " apt show foo