summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-679371-apt-get-autoclean-multiarch
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-07-09 08:24:46 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-07-09 08:24:46 +0200
commite77aedb863e2a9eebb5aa9628121d350c029527d (patch)
treedc314b4157aba3fa9a67c2d2e9c56a410ded4ec7 /test/integration/test-bug-679371-apt-get-autoclean-multiarch
parentf52074eed3849ae7c7ebae3c3a118cd4ee094b32 (diff)
parent25792e39cf2218f1c9bae74217e4f91682e14837 (diff)
merged from lp:~donkult/apt/sid
Diffstat (limited to 'test/integration/test-bug-679371-apt-get-autoclean-multiarch')
-rwxr-xr-xtest/integration/test-bug-679371-apt-get-autoclean-multiarch24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/integration/test-bug-679371-apt-get-autoclean-multiarch b/test/integration/test-bug-679371-apt-get-autoclean-multiarch
new file mode 100755
index 000000000..ba6857b73
--- /dev/null
+++ b/test/integration/test-bug-679371-apt-get-autoclean-multiarch
@@ -0,0 +1,24 @@
+#!/bin/sh
+set -e
+
+TESTDIR=$(readlink -f $(dirname $0))
+. $TESTDIR/framework
+setupenvironment
+configarchitecture 'amd64' 'i386'
+
+buildsimplenativepackage 'pkgall' 'all' '1' 'stable'
+buildsimplenativepackage 'pkgnative' 'amd64' '1' 'stable'
+buildsimplenativepackage 'pkgforeign' 'i386' '1' 'stable'
+
+setupaptarchive
+
+changetowebserver
+
+aptget update -qq
+aptget install pkgall pkgnative pkgforeign -y -qq > /dev/null
+
+testdpkginstalled pkgall pkgnative pkgforeign
+
+testequal 'Reading package lists...
+Building dependency tree...
+Reading state information...' aptget autoclean -s