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: Use g_get_tmp_dir() #219

Closed martinpitt closed 9 months ago

martinpitt commented 9 months ago

This ensures that the emulated /dev (which is created in g_get_tmp_dir() via DirUtils.make_tmp() and the feature check are done in the same directory. If $TMPDIR is set, that may not be the case.

Fixes #217