]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-778375-server-has-no-reason-phrase
prepare-release: Use equivs and gdebi-core for travis deps
[apt.git] / test / integration / test-bug-778375-server-has-no-reason-phrase
index a44920cbeed90cc5c7e9a3431a37b6dfc6a3ce56..28e31e0691c53e90ab8e381ba17af3af1b8a9ff9 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 
 setupenvironment
 configarchitecture 'native'
@@ -11,6 +11,7 @@ echo 'found' > aptarchive/working
 changetohttpswebserver  -o 'aptwebserver::redirect::replace::/redirectme/=/' \
        -o 'aptwebserver::httpcode::200=200' -o 'aptwebserver::httpcode::404=404' \
        -o 'aptwebserver::httpcode::301=301'
+webserverconfig 'aptwebserver::empty-response-header::' 'foobar'
 
 testdownload() {
        rm -f downfile