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