Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
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
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
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