Skip to content

Commit 25934f5

Browse files
committed
Add tls features logging in pipeline check example
1 parent 68cdf46 commit 25934f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test_pipeline.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ perform_cleanup() {
2323
trap perform_cleanup INT TERM
2424

2525
echo Preparing input data
26-
echo "postfix/smtp[123]: 7EE668039: to=<admin@example.com>, relay=127.0.0.1[127.0.0.1]:2525, delay=3.6, delays=0.2/0.02/0.04/3.3, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 153053D)" > "$INPUT"
26+
echo "postfix/smtp[123]: 7EE668039: to=<admin@example.com>, relay=127.0.0.1[127.0.0.1]:2525, delay=3.6, delays=0.2/0.02/0.04/3.3, dsn=2.0.0, tls=dane:none/!requiretls:nostarttls, status=sent (250 2.0.0 Ok: queued as 153053D)" > "$INPUT"
2727

2828
echo Preparing pipeline config
2929
cat > "$PIPELINE" << EOF
@@ -70,10 +70,10 @@ echo
7070

7171
if test "$(jq .tags[0] "$OUTPUT")" = '"_grok_postfix_success"'; then
7272
echo Grok processing successful!
73-
jq . "$OUTPUT"
73+
jq --sort-keys . "$OUTPUT"
7474
else
7575
echo "Grok processing failed :<"
76-
jq . "$OUTPUT"
76+
jq --sort-keys . "$OUTPUT"
7777
exit 1
7878
fi
7979

0 commit comments

Comments
 (0)