summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-update-simple
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-08-15 09:50:22 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-08-15 09:53:41 +0200
commit56820d4c244e896a62f57ff96801dc1283b8b0e2 (patch)
tree2133fef8b26c5ec30b3c8525eab3ae902007607e /test/integration/test-apt-update-simple
parent9fdcaee218505710495fea35f3b8538bebeaa1f9 (diff)
test: Use valgrind to ensure Acquire::Queue-Mode=access does not crash
Unfortunately for us, apt update with Acquire::Queue-Mode=access does not always crash on a real system, so run the whole thing in valgrind.
Diffstat (limited to 'test/integration/test-apt-update-simple')
-rwxr-xr-xtest/integration/test-apt-update-simple3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/test-apt-update-simple b/test/integration/test-apt-update-simple
index ff1d3758b..6855f1d1f 100755
--- a/test/integration/test-apt-update-simple
+++ b/test/integration/test-apt-update-simple
@@ -32,5 +32,6 @@ main/binary-all/Packages
main/i18n/Translation-en
main/i18n/Translation-de' aptget indextargets --format '$(METAKEY)'
+# Check that -o Acquire::Queue-Mode=access does not crash
find rootdir/var/lib/apt/lists/ -type f -delete
-testsuccess aptget update -o Acquire::Queue-Mode=access
+testsuccess valgrind aptget update -o Acquire::Queue-Mode=access