From 6e904b95bd15b542fb7dc846c80ec705c9155d51 Mon Sep 17 00:00:00 2001 From: Karsten Heimrich Date: Wed, 23 Mar 2016 12:03:00 +0100 Subject: Fix failing auto-test. Change-Id: If948400f15f9dcb43e4f47293ee58428993375f7 Reviewed-by: Katja Marttila --- tests/auto/installer/scriptengine/tst_scriptengine.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') 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(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(); -- cgit v1.2.3