On Unix, we have the fchmod(2) system call that changes the permissions of an open file descriptor. This commit adds a test for that, by not closing the QFile before setPermissions(). Pick-to: 6.4 Change-Id: If5d5ef6220874ae8858efffd171255b9f20ed501 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> |
||
|---|---|---|
| .. | ||
| resources | ||
| stdinprocess | ||
| .gitattributes | ||
| .gitignore | ||
| CMakeLists.txt | ||
| copy-fallback.qrc | ||
| dosfile.txt | ||
| forCopying.txt | ||
| forRenaming.txt | ||
| noendofline.txt | ||
| rename-fallback.qrc | ||
| testfile.txt | ||
| testlog.txt | ||
| tst_qfile.cpp | ||
| two.dots.file | ||