]> granicus.if.org Git - sysstat/commitdiff
simtest: Make sure we are in GMT timezone for iostat test 02430
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 28 Jun 2019 06:09:54 +0000 (08:09 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 28 Jun 2019 06:09:54 +0000 (08:09 +0200)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
tests/02430
tests/TLIST
tests/expected.iostat-ct

index d84a6bb2347d90efaf2107cfd6f9b9da5e2cae75..8688a0577e5711b50eb1a02bbd2863d56e730d3a 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -ct 1 2 > tests/out.iostat-ct.tmp
+LC_ALL=C TZ=GMT ./iostat -ct 1 2 > tests/out.iostat-ct.tmp
index 2948e313e753580a554b5cf12459eddfdae0cc24..050b1d61ef3d14b5e898b84a3e8f8e08a87472b2 100644 (file)
 02415  diff -u tests/out.iostat-sigint.tmp tests/expected.iostat-sigint
 02420  LC_ALL=C ./iostat -d foo > tests/out.iostat-foo.tmp
 02425  diff -u tests/out.iostat-foo.tmp tests/expected.iostat-foo
-02430  LC_ALL=C ./iostat -ct 1 2 > tests/out.iostat-ct.tmp
+02430  LC_ALL=C TZ=GMT ./iostat -ct 1 2 > tests/out.iostat-ct.tmp
 02435  diff -u tests/out.iostat-ct.tmp tests/expected.iostat-ct
 02440  LC_ALL=C ./iostat -d -g disks sda sdb -g other sdc sdd 1 2 > tests/out.iostat-g.tmp
 02445  diff -u tests/out.iostat-g.tmp tests/expected.iostat-g
index de735d6c8d8f212f8680421d45e3d1abac31a9ea..bf3be4c1d2644922d2cb1fd853547f0158416539 100644 (file)
@@ -1,12 +1,12 @@
 Linux 1.2.3-TEST (SYSSTAT.TEST)        01/01/70        _x86_64_        (8 CPU)
 
-01/01/70 01:00:00
+01/01/70 00:00:00
 avg-cpu:  %user   %nice %system %iowait  %steal   %idle
            1.65   44.90    1.84    1.01    0.00   50.60
 
 
 
-01/01/70 01:00:01
+01/01/70 00:00:01
 avg-cpu:  %user   %nice %system %iowait  %steal   %idle
            2.15   12.50    2.35    0.12    0.00   82.89