summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/installer/scriptengine/tst_scriptengine.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/installer/scriptengine/tst_scriptengine.cpp b/tests/auto/installer/scriptengine/tst_scriptengine.cpp
index 48223a821..f02946148 100644
--- a/tests/auto/installer/scriptengine/tst_scriptengine.cpp
+++ b/tests/auto/installer/scriptengine/tst_scriptengine.cpp
@@ -489,6 +489,9 @@ private slots:
void testAddOperation_AddElevatedOperation()
{
+#if QT_VERSION < 0x50600
+ QSKIP("Behavior changed from 5.6.0 onwards.");
+#endif
using namespace KDUpdater;
UpdateOperationFactory &factory = UpdateOperationFactory::instance();
factory.registerUpdateOperation<EmptyArgOperation>(QLatin1String("EmptyArg"));
@@ -498,7 +501,7 @@ private slots:
Component *component = m_core.componentByName("component.test.addOperation");
component->loadComponentScript(":///data/addOperation.qs");
- setExpectedScriptOutput("\"Component::createOperations()\"");
+ setExpectedScriptOutput("Component::createOperations()");
component->createOperations();
const OperationList operations = component->operations();