Closed requested to merge lrn/glib:cherry-pick-c11759f2 into master
There's no /tmp directory on Windows. Use g_get_tmp_dir(), and adjust the test to work with that. The test still checks the basename of the new CWD, it just doesn't need to be "tmp" anymore.
(cherry picked from commit c11759f2eddd512f58727e608f8d9a835cb70586)