From f73b88c6411f21585f0d700a582420599e5cf522 Mon Sep 17 00:00:00 2001 From: German Service Network Date: Wed, 20 Aug 2025 13:04:46 +0200 Subject: [PATCH] Fix missing escape character in JSON output test --- ci/test-16-json-output.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test-16-json-output.pl b/ci/test-16-json-output.pl index d3b8d65..08e9c59 100644 --- a/ci/test-16-json-output.pl +++ b/ci/test-16-json-output.pl @@ -136,7 +136,7 @@ $cmd->stderr_is_eq(""); { my $cmd = Test::Command->new(cmd => "fping -J -C 1 -q 127.0.0.1 127.0.0.2"); $cmd->exit_is_num(0); # Both hosts are reachable in this test -$cmd->stdout_like(qr/^\{"vSum":\s\{"host":\s"\d+\.\d+\.\d+\.\d+",\s"values":\s\[\d+\.\d+\]}} +$cmd->stdout_like(qr/^\{"vSum":\s\{"host":\s"\d+\.\d+\.\d+\.\d+",\s"values":\s\[\d+\.\d+\]\}\} \{"vSum":\s\{"host":\s"\d+\.\d+\.\d+\.\d+",\s"values":\s\[\d+\.\d+\]\}\}\n?$/); $cmd->stderr_is_eq(""); } -- 2.43.0