summaryrefslogtreecommitdiff
path: root/test/integration/test-ubuntu-bug-365611-long-package-names
blob: 894c8dc97d0df8bbde74f70204d83640a41e70ef (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

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)"