]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-update-file
allow redirection for items without a space in the desc again
[apt.git] / test / integration / test-apt-update-file
index c5b237257909931c3881b4b57ffd7fd3f7f9e428..20f6046957fd95b36c2da7c6349b673c52ba1964 100755 (executable)
@@ -5,8 +5,8 @@
 #
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 
 setupenvironment
 configarchitecture "amd64"
@@ -40,7 +40,9 @@ if [ "$(id -u)" = '0' ]; then
        exit
 fi
 chmod 555 aptarchive/dists/unstable/main/binary-all
-testsuccess aptget update
+testsuccess aptget update -o Debug::pkgAcquire::Worker=1
+cp -a rootdir/tmp/testsuccess.output rootdir/tmp/update.output
+testsuccess grep '%0aAlt-Filename:%20' rootdir/tmp/update.output
 
 # the release files aren't an IMS-hit, but the indexes are
 redatereleasefiles '+1 hour'