]> granicus.if.org Git - sysstat/commitdiff
simtest: Fix test 01405
authorSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 5 Jun 2019 08:15:50 +0000 (10:15 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 5 Jun 2019 08:15:50 +0000 (10:15 +0200)
Make test independent from timezone value.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
tests/01405
tests/expected.sadf-g-trunc

index c99a569d7805c1792b23eb5535d592a5f6db7c53..5439917c7d334953a2aef90eea8ed8e3c9955f6d 100644 (file)
@@ -1 +1 @@
-./sadf -g tests/data-trunc -- -A > tests/out.sadf-g-trunc.tmp 2>/dev/null
+TZ=GMT ./sadf -g tests/data-trunc -- -A > tests/out.sadf-g-trunc.tmp 2>/dev/null
index ffb9ebdbee459dd10adff68c58e2e1d9d0e1d1e9..2f619b7c450ac3fc146be71ff5356aff8ce8cf82 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
 <svg xmlns="http://www.w3.org/2000/svg" width="1060" height="100" fill="black" stroke="#808080" stroke-width="1">
-<text x="0" y="30" text-anchor="start" stroke="#a52a2a">Linux 1.2.3-TEST (SYSSTAT.TEST)        05/02/2019      _x86_64_        (8 CPU)
+<text x="0" y="30" text-anchor="start" stroke="#a52a2a">Linux 1.2.3-TEST (SYSSTAT.TEST)        05/01/2019      _x86_64_        (8 CPU)
 </text>
 <text x= "0" y="60" text-anchor="start" stroke="#ff0000">No data!</text>
 <!-- Actual canvas height: 60 -->