From 2044681992206d884b2cdf4a5c48e260ff7f9d70 Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Sun, 19 Mar 2017 21:15:31 -0700 Subject: [PATCH] dist-check: made the output a bit nicer. --- util/dist-check | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/util/dist-check b/util/dist-check index 4f705b4..5dec35d 100755 --- a/util/dist-check +++ b/util/dist-check @@ -68,7 +68,7 @@ sub write_config_file ($) { write_config_file "/tmp/nginx.conf"; -warn "=== Without FFI ===\n"; +warn "\n=== Without FFI ===\n"; $prefix = "/usr/local/openresty-noffi"; cleanup(); unless ($opts{f}) { @@ -86,7 +86,7 @@ sh "curl -si localhost/cjson|grep 'json.safe: '"; sh qq{$prefix/bin/resty -e 'ngx.say("Hello World!")'|grep 'Hello World'}; sh "sudo $prefix/nginx/sbin/nginx -sstop"; -warn "=== --with-stream ===\n"; +warn "\n=== --with-stream ===\n"; $prefix = "/usr/local/openresty-stream"; cleanup(); unless ($opts{f}) { @@ -105,7 +105,7 @@ sh "curl -si localhost/cjson|grep 'json.safe: '"; sh qq{$prefix/bin/resty -e 'ngx.say("Hello World!")'|grep 'Hello World'}; sh "sudo $prefix/nginx/sbin/nginx -sstop"; -warn "=== --with-stream + dtrace static probes ===\n"; +warn "\n=== --with-stream + dtrace static probes ===\n"; $prefix = "/usr/local/openresty-stream-usdt"; cleanup(); unless ($opts{f}) { @@ -125,7 +125,7 @@ sh "curl -si localhost/cjson|grep 'json.safe: '"; sh qq{$prefix/bin/resty -e 'ngx.say("Hello World!")'|grep 'Hello World'}; sh "sudo $prefix/nginx/sbin/nginx -sstop"; -warn "=== Without Gzip/SSL/PCRE ===\n"; +warn "\n=== Without Gzip/SSL/PCRE ===\n"; $prefix = "/usr/local/openresty-nogzip"; cleanup(); unless ($opts{f}) {