summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-09-29 11:43:37 +0200
committerMichael Vogt <mvo@debian.org>2014-09-29 11:43:37 +0200
commit7ffac4c10144a8458fec6de03c58f3b49d081e5c (patch)
treea3778191f8936ada9c33416907d02645cf031586 /test/integration
parent6eb377fb9fba6b7f17f635143e9201f0d62a50fb (diff)
Test if TMPDIR is a directory in apt-key and if not unset it
This prevents a failure in mktemp -d - it will blindly trust TMPDIR and not use something else if the dir is not there.
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/test-bug-728500-tempdir1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/test-bug-728500-tempdir b/test/integration/test-bug-728500-tempdir
index 0451fc1ed..bdc38c3ca 100755
--- a/test/integration/test-bug-728500-tempdir
+++ b/test/integration/test-bug-728500-tempdir
@@ -27,3 +27,4 @@ fi
unset TMPDIR
testequal 'coolstuff' aptcache pkgnames
+testsuccess ls rootdir/var/lib/apt/lists/*InRelease