summaryrefslogtreecommitdiffstats
path: root/tests/auto/qftp
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/qftp
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/qftp')
-rw-r--r--tests/auto/qftp/qftp.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qftp/qftp.pro b/tests/auto/qftp/qftp.pro
index c060296..33d479a 100644
--- a/tests/auto/qftp/qftp.pro
+++ b/tests/auto/qftp/qftp.pro
@@ -14,6 +14,7 @@ wince*: {
addFiles.path = .
DEPLOYMENT += addFiles
TARGET.EPOCHEAPSIZE="0x100 0x1000000"
+ TARGET.CAPABILITY = NetworkServices
} else {
DEFINES += SRCDIR=\\\"$$PWD/\\\"
}