path: root/tests/testserver
diff options
authorRyan Chu <>2019-03-12 12:24:17 +0100
committerRyan Chu <>2019-05-15 06:09:52 +0000
commita7ed7c1230a16d4451b860e0b5f434f28235b3e5 (patch)
tree5af85f7c709e3f95e90c488fd8a637ed5aa2fb4f /tests/testserver
parentdfe497a14e9dcd5680c732504d6dd4f9e7dce28c (diff)
Rework QFtp test and resolve the unresolved items
The proxy_data() defined in tst_qftp.cpp expects five items (bigfile, nonASCII, rfc3252, rfc3252.txt, and upload) in the server folder (ftp/qtest). The file rfc3252 and nonASCII folder were missing. Change-Id: I995d6e254875ade22a1def53187077f1cc8d4c98 Reviewed-by: Volker Hilsheimer <> Reviewed-by: Timur Pocheptsov <> Reviewed-by: MÃ¥rten Nordheim <> Reviewed-by: Edward Welbourne <>
Diffstat (limited to 'tests/testserver')
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testserver/vsftpd/ b/tests/testserver/vsftpd/
index 14364f94c2..bd09ad3902 100755
--- a/tests/testserver/vsftpd/
+++ b/tests/testserver/vsftpd/
@@ -54,6 +54,10 @@ ln -s /home/$USER/ftp /var/ftp
su $USER -c "mkdir -p ~/ftp/qtest/"
su $USER -c "cp rfc3252.txt ~/ftp/qtest/"; rm rfc3252.txt
+# tst_QNetworkReply::proxy_data()
+su $USER -c "ln ~/ftp/qtest/rfc3252.txt ~/ftp/qtest/rfc3252"
+su $USER -c "mkdir -p ~/ftp/qtest/nonASCII/"
# Duplicate rfc3252.txt 20 times for bigfile tests:
su $USER -c "seq 20 | xargs -i cat ~/ftp/qtest/rfc3252.txt >> ~/ftp/qtest/bigfile"