diff options
author | Sami Nurmenniemi <sami.nurmenniemi@qt.io> | 2017-12-08 14:52:30 +0200 |
---|---|---|
committer | Sami Nurmenniemi <sami.nurmenniemi@qt.io> | 2017-12-14 10:03:57 +0000 |
commit | 1b7e1b658a5ebad2e8dd4fffab84d2269d4440c0 (patch) | |
tree | 83287e1f9dccdb5c9d1ea4117d58fdb175c5cf19 /tests | |
parent | 3738362b9072b7f5a3c31e5e2ba214646efeed84 (diff) | |
download | qtxmlpatterns-1b7e1b658a5ebad2e8dd4fffab84d2269d4440c0.tar.gz |
Fix tst_XmlPatterns::xquerySupport on qemu
Task-number: QTBUG-64990
Change-Id: Iad72904ffb134148b7f16a6d42d5b99e788b5df0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/xmlpatterns/tst_xmlpatterns.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/xmlpatterns/tst_xmlpatterns.cpp b/tests/auto/xmlpatterns/tst_xmlpatterns.cpp index e2f7337..e9f190a 100644 --- a/tests/auto/xmlpatterns/tst_xmlpatterns.cpp +++ b/tests/auto/xmlpatterns/tst_xmlpatterns.cpp @@ -194,7 +194,11 @@ void tst_XmlPatterns::xquerySupport() QCOMPARE(QString(fixedStderr).remove(removeVersion) + QChar('|'), rawExpectedStdErr + QChar('|')); } else + { + /* Qemu outputs extra information to the stderr */ + fixedStderr.remove("Unsupported ioctl: cmd=0x8b07\n"); QCOMPARE(fixedStderr, filterStderr(rawExpectedStdErr)); + } } else { |