summaryrefslogtreecommitdiffstats
path: root/tests/testserver/apache2/apache2.sh
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2019-02-01 14:27:58 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2019-02-21 15:02:27 +0000
commitf6cf0442df52e8018f724a9234d2ae0267ecba85 (patch)
tree25fa73ab698d53860fb34b49915bb36799391218 /tests/testserver/apache2/apache2.sh
parent6a314669511fe7b36abc8da832c80de32fa567d9 (diff)
Convert tst_qhttpnetworkconnection
and make it work with our new docker-based test server Change-Id: I98b5b5b1e2cdca46b7f15be72aa1483d9455403d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/testserver/apache2/apache2.sh')
-rwxr-xr-xtests/testserver/apache2/apache2.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testserver/apache2/apache2.sh b/tests/testserver/apache2/apache2.sh
index 4b0c74e2c4..d5075c7096 100755
--- a/tests/testserver/apache2/apache2.sh
+++ b/tests/testserver/apache2/apache2.sh
@@ -73,5 +73,8 @@ touch -d "2007-05-22 12:04:57 GMT" /home/$USER/www/htdocs/fluke.gif
# Create 10MB file for use by tst_Q*::downloadBigFile and interruption tests:
su $USER -c "/bin/dd if=/dev/zero of=~/www/htdocs/mediumfile bs=1 count=0 seek=10000000"
+# Emulate test server's hierarchy:
+su $USER -c "ln -s ~/www/htdocs/rfcs/rfc2616.html ~/www/htdocs/deflate/"
+
# enable service with installed configurations
service apache2 restart