summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2017-09-14 16:17:20 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2017-09-14 14:27:01 +0000
commit433fa9a1fc01ab7e566f825da3cf26ce2cdb57dc (patch)
treeb8f7cf0f30f8fd45d1d5a1add5fb27d89966c633 /tests
parentf1ea1f927679329781811e353f8dad6ee2e3aaeb (diff)
downloadqtapplicationmanager-433fa9a1fc01ab7e566f825da3cf26ce2cdb57dc.tar.gz
Qt 5.10 changed the QFile error messages on Windows
Change-Id: I7b9b561431301973304e05457532fcf52173f769 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/packageextractor/tst_packageextractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/packageextractor/tst_packageextractor.cpp b/tests/packageextractor/tst_packageextractor.cpp
index 839260b8..985e8c6b 100644
--- a/tests/packageextractor/tst_packageextractor.cpp
+++ b/tests/packageextractor/tst_packageextractor.cpp
@@ -137,7 +137,7 @@ void tst_PackageExtractor::extractAndVerify_data()
{ m_taest, 17 } };
QTest::newRow("invalid-url") << "packages/no-such-file.appkg"
- << false << "~Error opening .*: No such file or directory"
+ << false << "~Error opening .*: (No such file or directory|The system cannot find the file specified)"
<< noEntries << noContent << noSizes;
QTest::newRow("invalid-format") << "packages/test-invalid-format.appkg"
<< false << "~.* could not open archive: Unrecognized archive format"