]> git.saurik.com Git - apt.git/blame - test/integration/test-ubuntu-bug-365611-long-package-names
add --sha512 option + documentation for apt-ftparchive
[apt.git] / test / integration / test-ubuntu-bug-365611-long-package-names
CommitLineData
8f3853ba
DK
1#!/bin/sh
2set -e
3
adee3bae 4TESTDIR=$(readlink -f $(dirname $0))
8f3853ba
DK
5. $TESTDIR/framework
6setupenvironment
d99854ca 7configarchitecture 'i386'
8f3853ba
DK
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)"
d99854ca
DK
12
13# … and the opposite of long:
14aptget install "" -s >longpackagename.log 2>&1 || true
15testfileequal 'longpackagename.log' "$(aptget install -s)"