From 4bbfc5465e29b925d308187ef09d1f95baf55227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Fri, 13 Oct 2017 11:37:54 +0200 Subject: [PATCH] mention dvs version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- docker-bench-security.sh | 2 +- output_lib.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-bench-security.sh b/docker-bench-security.sh index 08eda32..ce4de2c 100755 --- a/docker-bench-security.sh +++ b/docker-bench-security.sh @@ -72,7 +72,7 @@ if [ "x$ID" != "x0" ]; then fi logit "Initializing $(date)\n" -beginjson "$(date +%s)" +beginjson "1.3.4" "$(date +%s)" # Load all the tests from tests/ and run them main () { diff --git a/output_lib.sh b/output_lib.sh index 6460d40..5ead4b7 100644 --- a/output_lib.sh +++ b/output_lib.sh @@ -30,7 +30,7 @@ yell () { } beginjson () { - printf "{\n \"start\": %s," "$1" | tee "$logger.json" 2>/dev/null 1>&2 + printf "{\n \"dockerbenchsecurity\": \"%s\",\n \"start\": %s," "$1" "$2" | tee "$logger.json" 2>/dev/null 1>&2 } endjson (){