KMountPoint doesn't handle symlinks
I'm running bin/jobtest
on FreeBSD. Historically, we have home -> usr/home
symlink in /
directory.
All tests that use otherTmpDirIsOnSamePartition()
function from jobtest.cpp:57
fail with
ASSERT: "srcMountPoint" in file /home/arr/projects/kderoot/download/git/kde/frameworks/tier3/kio/autotests/jobtest.cpp, line 65
Dumping the contents of the variables reveals:
"/var/log"
"/usr/src"
"/var/tmp"
"/usr/home"
...
The homeTmpDir()
, in turn, returns /home/arr/.qttest/share/kio/jobtest/kiotests/
. This item doesn't get found in the mount points list leading to assertion.