summaryrefslogtreecommitdiffstats
path: root/tests/auto/languagechange
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/languagechange
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/languagechange')
-rw-r--r--tests/auto/languagechange/tst_languagechange.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/languagechange/tst_languagechange.cpp b/tests/auto/languagechange/tst_languagechange.cpp
index d04707e..bcc3be4 100644
--- a/tests/auto/languagechange/tst_languagechange.cpp
+++ b/tests/auto/languagechange/tst_languagechange.cpp
@@ -238,8 +238,8 @@ void tst_languageChange::retranslatability()
QString fooName = tmpParentDir + "/foo";
QDir dir;
QCOMPARE(dir.mkpath(tmpDir), true);
-#if defined(Q_OS_SYMBIAN) && defined(Q_CC_NOKIAX86)
- // Just create a new file instead of copying exe, because exe is not there in emulator
+#if defined(Q_OS_SYMBIAN)
+ // Just create a new file instead of copying exe, because there is no read access to /sys/bin
{
QFile fooFile(fooName);
QVERIFY(fooFile.open(QIODevice::WriteOnly | QIODevice::Text));