diff options
author | Michael Vogt <mvo@debian.org> | 2011-02-08 10:35:39 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2011-02-08 10:35:39 +0100 |
commit | 33e46bc7032c2bcab654ab3f6a0a10ad82264ead (patch) | |
tree | b0117e8152475b94551bfe993460be64fcf3343b /test/integration/test-ubuntu-bug-365611-long-package-names | |
parent | 09b8bd3226a68272f98e4020d10348ff26642500 (diff) | |
parent | 7376837d338fd9399cfa4820b6f9bacbb2634d46 (diff) |
merged lp:~donkult/apt/sid
Diffstat (limited to 'test/integration/test-ubuntu-bug-365611-long-package-names')
-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)" |