summaryrefslogtreecommitdiffstats
path: root/tests/auto/qhttp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-05-06 16:34:58 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-05-10 15:55:13 (GMT)
commit2df5a9567ff83a547c3c66e4b523844b78968108 (patch)
tree5af88ead0f623964c1c6d2f083842582c7779ac2 /tests/auto/qhttp
parent4ad58161814a80409f790bf8269e147551adfee0 (diff)
downloadQt-2df5a9567ff83a547c3c66e4b523844b78968108.zip
Qt-2df5a9567ff83a547c3c66e4b523844b78968108.tar.gz
Qt-2df5a9567ff83a547c3c66e4b523844b78968108.tar.bz2
Run autotests with minimal capabilities
The autotests were previously run with ALL-Tcb capability which gives them more access to the filesystem etc. than a typical Qt application. To have more realistic testing environmnent, tests are run with no capabilities other than those required for the Qt APIs they use. i.e. NetworkServices for network tests, None for others. Reviewed-by: Liang Qi
Diffstat (limited to 'tests/auto/qhttp')
-rw-r--r--tests/auto/qhttp/qhttp.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qhttp/qhttp.pro b/tests/auto/qhttp/qhttp.pro
index 8678a19..23a73c4 100644
--- a/tests/auto/qhttp/qhttp.pro
+++ b/tests/auto/qhttp/qhttp.pro
@@ -21,6 +21,7 @@ wince*: {
addFiles.sources = rfc3252.txt trolltech
addFiles.path = .
DEPLOYMENT = addFiles webFiles cgi
+ TARGET.CAPABILITY = NetworkServices
} else:vxworks*: {
DEFINES += SRCDIR=\\\"\\\"
} else {