summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-05-18 13:46:35 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-05-18 13:46:35 (GMT)
commit4e463e50ace02f31f4d23a5b414f86d62c43eb25 (patch)
tree7d76f6ab6f272a1b2d67281c3d9470b23d06e7ac /tests
parentda69f361e9f4166095fc874e42dc97b163c5b57b (diff)
downloadQt-4e463e50ace02f31f4d23a5b414f86d62c43eb25.zip
Qt-4e463e50ace02f31f4d23a5b414f86d62c43eb25.tar.gz
Qt-4e463e50ace02f31f4d23a5b414f86d62c43eb25.tar.bz2
Our ftp server removes windiws line ending.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qftp/tst_qftp.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/qftp/tst_qftp.cpp b/tests/auto/qftp/tst_qftp.cpp
index 3f1c511..0f6702c 100644
--- a/tests/auto/qftp/tst_qftp.cpp
+++ b/tests/auto/qftp/tst_qftp.cpp
@@ -1556,14 +1556,16 @@ void tst_QFtp::binaryAscii()
ResMapIt it2 = resultMap.find(QFtp::Get);
QVERIFY(it2 != resultMap.end());
QVERIFY(it2.value().success);
+/*
#ifdef Q_OS_SYMBIAN
QVERIFY(getData.size() == putData.size());
#else
+*/
// most modern ftp servers leave the file as it is by default
// (and do not remove the windows line ending), the -1 below could be
// deleted in the future
QVERIFY(getData.size() == putData.size()-1);
-#endif
+//#endi
//////////////////////////////////////////////////////////////////
// cleanup (i.e. remove the file) -- this also tests the remove command
init();