Review Request 127743: mkpath instead of mkdir

David Faure faure at kde.org
Tue Apr 26 09:18:57 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127743/#review94854
-----------------------------------------------------------


Ship it!




Ship It!

- David Faure


On April 25, 2016, 9:02 a.m., Harald Sitter wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127743/
> -----------------------------------------------------------
> 
> (Updated April 25, 2016, 9:02 a.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kio
> 
> 
> Description
> -------
> 
> if the parent directory/ies does not exist yet mkdir would fail even when
> technically it could construct the path.
> 
> this in particular occurs in test setups with xvfb&openbox&kded:
> - http_jobtest would attempt to talk to the cookiejar
> - kded5 gets autostarted & jar loaded
> - jar module runs getOrCreate on a path that is relative to a fake home
>   (e.g. /tmp/kitten-test-123/.local/share/cache
> - creation fails
> - jar displays dialog that will not ever be run
> - test stuck and will time out eventually
> - the particular kded used is now defunct
> 
> 
> Diffs
> -----
> 
>   src/ioslaves/http/kcookiejar/kcookieserver.cpp 9f9d9449b2f06f33ac479b0b5fb47f26c169fb41 
> 
> Diff: https://git.reviewboard.kde.org/r/127743/diff/
> 
> 
> Testing
> -------
> 
> tested the at the outlined scenario works
> 
> make test still passes
> 
> 
> Thanks,
> 
> Harald Sitter
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160426/2e6347f5/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list