projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add apt-key support for armored GPG key files (*.asc)
[apt.git]
/
test
/
integration
/
test-bug-728500-tempdir
diff --git
a/test/integration/test-bug-728500-tempdir
b/test/integration/test-bug-728500-tempdir
index 0606538a1d011512bdbb2c26c7b16889a5398a09..37661d168328b8b60df3b3312ed1d54620dfc891 100755
(executable)
--- a/
test/integration/test-bug-728500-tempdir
+++ b/
test/integration/test-bug-728500-tempdir
@@
-2,17
+2,22
@@
set -e
set -e
-TESTDIR=
$(readlink -f $(dirname $0))
-.
$TESTDIR/framework
+TESTDIR=
"$(readlink -f "$(dirname "$0")")"
+.
"$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'
setupenvironment
configarchitecture 'i386'
-
buildsimplenativepackage 'coolstuff' 'all' '1.0' 'unstable
'
+
insertpackage 'unstable' 'coolstuff' 'all' '1.0
'
setupaptarchive
changetowebserver
setupaptarchive
changetowebserver
-msgtest 'Test with incorect TMPDIR'
+msgtest 'Test apt-get update with incorrect' 'TMPDIR'
+
export TMPDIR=/does-not-exists
export TMPDIR=/does-not-exists
-aptget update && msgpass || msgfail
-unset TMPDIR
\ No newline at end of file
+testsuccess aptget update -o Debug::Acquire::gpg=1
+unset TMPDIR
+
+testsuccessequal 'coolstuff
+dpkg' aptcache pkgnames
+testsuccess ls rootdir/var/lib/apt/lists/*InRelease