diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2011-07-20 14:50:15 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-03 18:57:30 (GMT) |
commit | bd5a2c94f2460b7a5802415eb701f971e5e88e76 (patch) | |
tree | 81ad17b64f1bd6b29fc2e68619c32c48c27b15ce /tests | |
parent | 4c91eca4a816c39ae336c67b5200aaf83e671c48 (diff) | |
download | Qt-bd5a2c94f2460b7a5802415eb701f971e5e88e76.zip Qt-bd5a2c94f2460b7a5802415eb701f971e5e88e76.tar.gz Qt-bd5a2c94f2460b7a5802415eb701f971e5e88e76.tar.bz2 |
test: fix tst_QFile::rename() autotest
This test was incorrectly assuming that a file named "Makefile" exists.
Change-Id: I318b12f67e0476d6f08d1fc86194ca96f2bdb373
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
(cherry picked from commit 227cb8c0b91f9e88e53432b3936cd1fc4f90e9f7)
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qfile/tst_qfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qfile/tst_qfile.cpp b/tests/auto/qfile/tst_qfile.cpp index da2b66c..7c5ae6f 100644 --- a/tests/auto/qfile/tst_qfile.cpp +++ b/tests/auto/qfile/tst_qfile.cpp @@ -2436,7 +2436,7 @@ void tst_QFile::rename_data() QTest::newRow("a -> b") << QString("a") << QString("b") << false; QTest::newRow("a -> .") << QString("a") << QString(".") << false; QTest::newRow("renamefile -> renamefile") << QString("renamefile") << QString("renamefile") << false; - QTest::newRow("renamefile -> Makefile") << QString("renamefile") << QString("Makefile") << false; + QTest::newRow("renamefile -> noreadfile") << QString("renamefile") << QString("noreadfile") << false; #if defined(Q_OS_UNIX) && !defined(Q_OS_SYMBIAN) QTest::newRow("renamefile -> /etc/renamefile") << QString("renamefile") << QString("/etc/renamefile") << false; #endif |