aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-02-02 13:51:22 -0500
committerDavid Goulet <dgoulet@torproject.org>2022-02-03 08:30:23 -0500
commit3c73622f27c67eb636f19a938c5f401da8db901f (patch)
tree5f335c5292a60170769229c905615c3e2fd843b6 /src/test
parent1b58399b07a17c2745624f35780fd3ddbe7a0251 (diff)
downloadtor-3c73622f27c67eb636f19a938c5f401da8db901f.tar.gz
tor-3c73622f27c67eb636f19a938c5f401da8db901f.zip
hs: Double quote the metrics label value
Fixes #40552 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_metrics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_metrics.c b/src/test/test_metrics.c
index 152dd99d23..58628e8483 100644
--- a/src/test/test_metrics.c
+++ b/src/test/test_metrics.c
@@ -30,8 +30,8 @@
#define TEST_METRICS_ENTRY_NAME "entryA"
#define TEST_METRICS_ENTRY_HELP "Description of entryA"
-#define TEST_METRICS_ENTRY_LABEL_1 "label=farfadet"
-#define TEST_METRICS_ENTRY_LABEL_2 "label=ponki"
+#define TEST_METRICS_ENTRY_LABEL_1 "label=\"farfadet\""
+#define TEST_METRICS_ENTRY_LABEL_2 "label=\"ponki\""
static void
set_metrics_port(or_options_t *options)