summaryrefslogtreecommitdiff
path: root/test/integration/test-ubuntu-bug-365611-long-package-names
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/test-ubuntu-bug-365611-long-package-names')
-rwxr-xr-xtest/integration/test-ubuntu-bug-365611-long-package-names11
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)"