Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

trivial: Fix make check after d766367

  • Loading branch information...
commit aa991b23444fb0317868f5770f7f40ce9d95b13b 1 parent b4b74d2
@hughsie authored
Showing with 3 additions and 2 deletions.
  1. +1 −0  data/tests/zif.conf
  2. +2 −2 libzif/zif-self-test.c
View
1  data/tests/zif.conf
@@ -1,3 +1,4 @@
[main]
override_config=$srcdir/etc/zif.conf
releasever=13
+config_schema_version=1
View
4 libzif/zif-self-test.c
@@ -693,7 +693,7 @@ zif_config_changed_func (void)
g_assert (config != NULL);
filename = g_build_filename (zif_tmpdir, "zif.conf", NULL);
- ret = g_file_set_contents (filename, "[main]\n", -1, &error);
+ ret = g_file_set_contents (filename, "[main]\nconfig_schema_version=1\n", -1, &error);
g_assert_no_error (error);
g_assert (ret);
ret = zif_config_set_filename (config, filename, &error);
@@ -710,7 +710,7 @@ zif_config_changed_func (void)
g_assert (ret);
/* touch file, and ensure file is autoloaded */
- ret = g_file_set_contents (filename, "[main]\nkey=value\n", -1, &error);
+ ret = g_file_set_contents (filename, "[main]\nkey=value\nconfig_schema_version=1\n", -1, &error);
g_assert_no_error (error);
g_assert (ret);
Please sign in to comment.
Something went wrong with that request. Please try again.