From 6172a19024b6bc1d0872bd99a30b5d1c457dfd45 Mon Sep 17 00:00:00 2001 From: John Burke Date: Thu, 1 May 2025 13:31:10 -0400 Subject: [PATCH] improve rule testing output --- prometheus_v2/test_all_rules.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/prometheus_v2/test_all_rules.sh b/prometheus_v2/test_all_rules.sh index 094c126..86612e4 100755 --- a/prometheus_v2/test_all_rules.sh +++ b/prometheus_v2/test_all_rules.sh @@ -1,5 +1,6 @@ #!/bin/zsh for test in $(find ./tests -type f); do - promtool test rules "$test"; -done \ No newline at end of file + res=`promtool test rules "$test"` + echo "test $test $res" +done