Skip to content

Commit

Permalink
sysdig uses the local time of the local machine to render timestamps,…
Browse files Browse the repository at this point in the history
… so for the tests they need to be normalized to UTC
  • Loading branch information
gianlucaborello committed May 8, 2014
1 parent 9e23a1f commit aae7871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sysdig_batch_parser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aae7871

Please sign in to comment.