diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-01-13 00:27:42 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-01-13 00:27:42 +0100 |
commit | f688d1d3c90091c308ec979eabab511134810be9 (patch) | |
tree | 78374e93799608ea63ac2aac8d9dc0370d3b05be /test/integration | |
parent | 1fc0d435891dc9496a71a680032918dab2372e6d (diff) | |
parent | 54f2f0a3e46e4369285be8c25912fd45413114c0 (diff) |
* apt-inst/contrib/extracttar.cc:
- let apt-utils work with encoded tar headers if uid/gid are large.
Thanks to Nobuhiro Hayashi for the patch! (Closes: #330162)
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/deb-bug-330162-encoded-tar-header.deb | bin | 0 -> 544 bytes | |||
-rwxr-xr-x | test/integration/test-bug-330162-encoded-tar-header | 11 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/deb-bug-330162-encoded-tar-header.deb b/test/integration/deb-bug-330162-encoded-tar-header.deb Binary files differnew file mode 100644 index 000000000..f38b1aa70 --- /dev/null +++ b/test/integration/deb-bug-330162-encoded-tar-header.deb diff --git a/test/integration/test-bug-330162-encoded-tar-header b/test/integration/test-bug-330162-encoded-tar-header new file mode 100755 index 000000000..fa01e0379 --- /dev/null +++ b/test/integration/test-bug-330162-encoded-tar-header @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +local TESTDIR=$(readlink -f $(dirname $0)) +. $TESTDIR/framework +setupenvironment +configarchitecture "i386" + +msgtest 'Test apt-ftparchive with encoded tar header package' +cp $TESTDIR/deb-bug-330162-encoded-tar-header.deb aptarchive/ +test -z "$(aptftparchive packages aptarchive/ 2>&1 | grep 'E:')" && msgpass || msgfail |