diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-02-23 20:38:01 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-02-23 20:45:01 -0500 |
commit | e785c9f40749bbda577977ffd0d021b3dc661d24 (patch) | |
tree | 3b5b9e21192eaf0961e1fefe83df05ef616af1cd /tests | |
parent | 9f16565732b2b19af6a2956b5ff57170b7fa3eda (diff) | |
download | telepathy-logger-e785c9f40749bbda577977ffd0d021b3dc661d24.tar.gz |
Set logs file mod so it can be cleared in distcheck
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dbus/test-tpl-log-store-xml.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dbus/test-tpl-log-store-xml.c b/tests/dbus/test-tpl-log-store-xml.c index 8db04ba..0cce44b 100644 --- a/tests/dbus/test-tpl-log-store-xml.c +++ b/tests/dbus/test-tpl-log-store-xml.c @@ -27,6 +27,11 @@ copy_dir (const gchar *from_dir, const gchar *to_dir) command = g_strdup_printf ("cp -r %s %s", from_dir, to_dir); g_assert (system (command) == 0); g_free (command); + + // In distcheck mode the files and directory are read-only, fix that + command = g_strdup_printf ("chmod -R +w %s", to_dir); + g_assert (system (command) == 0); + g_free (command); } |