]> git.saurik.com Git - apt.git/blob - test/integration/test-ubuntu-bug-365611-long-package-names
* apt-pkg/packagemanager.cc:
[apt.git] / test / integration / test-ubuntu-bug-365611-long-package-names
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6 setupenvironment
7 configarchitecture "i386"
8 setupaptarchive
9
10 aptget install $(for i in $(seq 0 1000); do echo -n 'a'; done) 2> longpackagename.log > /dev/null || true
11 testfileequal 'longpackagename.log' "E: Unable to locate package $(for i in $(seq 0 1000); do echo -n 'a'; done)"