tests: Add temporary working directory for appmonitor test
commit0f5b523fac8b2d9b9305419937e51b6c87e765be
authorPhilip Withnall <withnall@endlessm.com>
Fri, 18 Aug 2017 08:53:23 +0000 (18 09:53 +0100)
committerPhilip Withnall <withnall@endlessm.com>
Wed, 23 Aug 2017 10:26:57 +0000 (23 11:26 +0100)
tree8dd1660b75cc138f37184e9b78e0434f9f0660b7
parent3ce00b29ec0bb240412506affb5c65bdb18c7ad3
tests: Add temporary working directory for appmonitor test

Rather than creating a temporary directory in the current directory
(typically the builddir), then never deleting it; create one in the
system /tmp directory, and clean it up properly afterwards.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=785260
gio/tests/appmonitor.c