Skip to content

Commit aae7871

Browse files
sysdig uses the local time of the local machine to render timestamps, so for the tests they need to be normalized to UTC
1 parent 9e23a1f commit aae7871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sysdig_batch_parser.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ mkdir -p $DIRNAME
3838
for f in $TRACESDIR/*
3939
do
4040
echo "Processing $f"
41-
eval $SYSDIG -r $f $ARGS > $DIRNAME/$(basename $f).output
41+
TZ=UTC eval $SYSDIG -r $f $ARGS > $DIRNAME/$(basename $f).output
4242
done
4343

4444
echo Data saved in $DIRNAME

0 commit comments

Comments
 (0)