[gom] tests: Fix test-gom-find running in distcheck
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gom] tests: Fix test-gom-find running in distcheck
- Date: Thu, 17 Apr 2014 23:16:43 +0000 (UTC)
commit 9e28a25417c44be1234f33b5ea7fa2ca30c4f2dc
Author: Bastien Nocera <hadess hadess net>
Date: Fri Apr 18 01:15:36 2014 +0200
tests: Fix test-gom-find running in distcheck
The DB was copied as read-only, so we couldn't even check the
version of the database as we try to create a _gom_version table.
tests/test-gom-find.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-gom-find.c b/tests/test-gom-find.c
index 432efa4..bc1b5ba 100644
--- a/tests/test-gom-find.c
+++ b/tests/test-gom-find.c
@@ -345,7 +345,7 @@ copy_db (void)
dest = g_file_new_for_path (path);
g_free (path);
- ret = g_file_copy (src, dest, G_FILE_COPY_NONE, NULL, NULL, NULL, &error);
+ ret = g_file_copy (src, dest, G_FILE_COPY_TARGET_DEFAULT_PERMS, NULL, NULL, NULL, &error);
g_assert_no_error(error);
g_assert (ret);
g_object_unref (src);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]