martinpitt / umockdev

Mock hardware devices for creating unit tests and bug reporting
https://launchpad.net/umockdev
GNU Lesser General Public License v2.1
308 stars 54 forks source link

test: Allow missing .X11-unix/X5 file #209

Closed xypron closed 1 year ago

xypron commented 1 year ago

Closes #208

Testing fails with

cannot remove /tmp/.X11-unix/X5: No such file or directory

Fixes: 0f686e11540c ("Check FileUtils.{remove,unlink}() return code")

martinpitt commented 1 year ago

Meh, GitHub outage strikes again.. I don't want to land without all the tests, I'll retrigger these tomorrow morning. But looks good, thank you for the fix!