diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-02-07 21:42:36 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-02-07 21:42:36 +0100 |
commit | 8f3853baea6191788da6befb437e92ba246c86a3 (patch) | |
tree | 6c3edf065be2c8eca709b57e4bcb74ff6b90f9d9 /test | |
parent | cfe35dbc01015c6927193fd5da02eaabd753989a (diff) | |
download | apt-8f3853baea6191788da6befb437e92ba246c86a3.tar.gz |
* apt-pkg/contrib/error.cc:
- remove 400 char size limit of error messages (LP: #365611)
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/test-ubuntu-bug-365611-long-package-names | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/test-ubuntu-bug-365611-long-package-names b/test/integration/test-ubuntu-bug-365611-long-package-names new file mode 100755 index 000000000..28b55df3b --- /dev/null +++ b/test/integration/test-ubuntu-bug-365611-long-package-names @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +local TESTDIR=$(readlink -f $(dirname $0)) +. $TESTDIR/framework +setupenvironment +configarchitecture "i386" +setupaptarchive + +aptget install $(for i in $(seq 0 1000); do echo -n 'a'; done) 2> longpackagename.log > /dev/null || true +testfileequal 'longpackagename.log' "E: Unable to locate package $(for i in $(seq 0 1000); do echo -n 'a'; done)" |