update tst_QFile::supportsMoveToTrash for VxWorks 25.03
On VxWorks 25.03 AT_FDCWD is defined but the POSIX at* APIs needed for trash support are still missing. Update tst_QFile::supportsMoveToTrash to verify that QFile::supportsMoveToTrash() returns false on Q_OS_VXWORKS, regardless of AT_FDCWD. Fixes: QTBUG-136693 Change-Id: I33f418984887d87e42ecda494cd5b101c42d55e6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
dee6c21fe0
commit
01961aea8b
@ -4009,6 +4009,10 @@ void tst_QFile::supportsMoveToTrash()
|
||||
#elif !defined(AT_FDCWD)
|
||||
// Unix platforms without the POSIX atfile support: not supported
|
||||
QVERIFY(!QFile::supportsMoveToTrash());
|
||||
#elif defined(Q_OS_VXWORKS)
|
||||
// AT_FDCWD exists in VxWorks 25.03,
|
||||
// but required POSIX APIs for trash support are missing
|
||||
QVERIFY(!QFile::supportsMoveToTrash());
|
||||
#else
|
||||
QVERIFY(QFile::supportsMoveToTrash());
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user