Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
dev
-
None
Description
agent:2021/12/02 09:46:16 build.go:394: QWARN : tst_QFile::moveToTrash(home file) Unable to establish trash directory in /home/root/.local/share
agent:2021/12/02 09:46:16 build.go:394: FAIL! : tst_QFile::moveToTrash(home file) 'success' returned FALSE. (Invalid cross-device link)
agent:2021/12/02 09:46:16 build.go:394: Loc: [/usr/src/debug/qtbase/6.2.1-r0/git/tests/auto/corelib/io/qfile/tst_qfile.cpp(3848)]
agent:2021/12/02 09:46:16 build.go:394: QWARN : tst_QFile::moveToTrash(home dir) Unable to establish trash directory in /home/root/.local/share
agent:2021/12/02 09:46:16 build.go:394: FAIL! : tst_QFile::moveToTrash(home dir) 'success' returned FALSE. (Invalid cross-device link)
agent:2021/12/02 09:46:16 build.go:394: Loc: [/usr/src/debug/qtbase/6.2.1-r0/git/tests/auto/corelib/io/qfile/tst_qfile.cpp(3848)]
agent:2021/12/02 09:46:16 build.go:394: PASS : tst_QFile::moveToTrash(relative)
agent:2021/12/02 09:46:16 build.go:394: QWARN : tst_QFile::moveToTrash(root) Unable to establish trash directory in /home/root/.local/share
agent:2021/12/02 09:46:16 build.go:394: QWARN : tst_QFile::moveToTrash(root) Unable to establish trash directory in /home/root/.local/share
XDG Base Directory Specification (https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) defines where the app & user specific files are created ($HOME/.local/share). According to the spec if the directory does not exist then it should be created.
Correction: just create the missing /home/root/.local/share directory in the test case before any access to it.