martinpitt / umockdev

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

test: Use g_get_tmp_dir() #219

Closed martinpitt closed 1 year ago

martinpitt commented 1 year 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