From aae787183f575fead592081ad8fba550ef8b275f Mon Sep 17 00:00:00 2001 From: Gianluca Borello Date: Wed, 7 May 2014 17:14:56 -0700 Subject: [PATCH] sysdig uses the local time of the local machine to render timestamps, so for the tests they need to be normalized to UTC --- test/sysdig_batch_parser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sysdig_batch_parser.sh b/test/sysdig_batch_parser.sh index bffd8ca361..6da8ba43e4 100755 --- a/test/sysdig_batch_parser.sh +++ b/test/sysdig_batch_parser.sh @@ -38,7 +38,7 @@ mkdir -p $DIRNAME for f in $TRACESDIR/* do echo "Processing $f" - eval $SYSDIG -r $f $ARGS > $DIRNAME/$(basename $f).output + TZ=UTC eval $SYSDIG -r $f $ARGS > $DIRNAME/$(basename $f).output done echo Data saved in $DIRNAME