[gnome-builder] git: add note about requirements to run test
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] git: add note about requirements to run test
- Date: Thu, 6 May 2021 19:54:51 +0000 (UTC)
commit 36ace83a4ce08cc515f1e05a3435e07bee9446cc
Author: Christian Hergert <chergert redhat com>
Date: Thu May 6 12:54:46 2021 -0700
git: add note about requirements to run test
src/plugins/git/daemon/test-git.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/src/plugins/git/daemon/test-git.c b/src/plugins/git/daemon/test-git.c
index 60a79f41b..455a54d2d 100644
--- a/src/plugins/git/daemon/test-git.c
+++ b/src/plugins/git/daemon/test-git.c
@@ -76,7 +76,12 @@ do_test_config (IpcGitConfig *config)
{
g_autofree gchar *value = NULL;
+ g_message (" Looking up key: %s", keys[i]);
ret = ipc_git_config_call_read_key_sync (config, keys[i], &value, NULL, &error);
+
+ if (error && strcmp (keys[i], "user.signingkey") == 0)
+ g_error ("This test requires that you set user.signingkey for the user account");
+
g_assert_no_error (error);
g_assert_true (ret);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]