]> granicus.if.org Git - sysstat/commitdiff
Fix #231: Make iostat tests independent from the timezone value
authorSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 21 Aug 2019 06:40:58 +0000 (08:40 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 21 Aug 2019 06:40:58 +0000 (08:40 +0200)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
53 files changed:
tests/01300
tests/01305
tests/01320
tests/02010
tests/02020
tests/02030
tests/02040
tests/02050
tests/02060
tests/02070
tests/02110
tests/02120
tests/02130
tests/02140
tests/02150
tests/02160
tests/02170
tests/02210
tests/02220
tests/02230
tests/02240
tests/02250
tests/02260
tests/02270
tests/02310
tests/02320
tests/02340
tests/02370
tests/02380
tests/02410
tests/02420
tests/02440
tests/02450
tests/02460
tests/02470
tests/02474
tests/02480
tests/02484
tests/02600
tests/02610
tests/02620
tests/02630
tests/02640
tests/02650
tests/02660
tests/02670
tests/02680
tests/02690
tests/02700
tests/02710
tests/02720
tests/02730
tests/TLIST

index 5a5778fd9e5615e3c091c2018ae12e649c7bdf18..c255cba4c2911e82f7f3bd4a8e972406a2499d57 100644 (file)
@@ -1,4 +1,4 @@
 rm -f tests/sa01
 echo foo >tests/sa01
 
-./sadc 1 1 - 2>&1 | grep "Invalid system activity" >/dev/null
+LC_ALL=C TZ=GMT ./sadc 1 1 - 2>&1 | grep "Invalid system activity" >/dev/null
index ca704e99cb6480f1bf05c326b276073d71564f7b..f2cf9c0141507b1d3d9468ba0983f1e50d6fed00 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-./sadc -F 1 1 -
+LC_ALL=C TZ=GMT ./sadc -F 1 1 -
index 528202269c32d29aa4b84ea43fd9191cd2350063..01df805db0672e3a70bab3685e445a4417370ec8 100644 (file)
@@ -1,2 +1,2 @@
 rm -f tests/sa19700101
-./sadc -D -
+LC_ALL=C TZ=GMT ./sadc -D -
index 93e4a425b0efdc043cc700287353901f92a3ab66..d03c18f3c343e615e0f8ffd10ea94f21090858f0 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat 2 3 > tests/out.iostat.tmp
+LC_ALL=C TZ=GMT ./iostat 2 3 > tests/out.iostat.tmp
index 43208c533b4300df8b9d2be341676c7c7a270649..5fe406fc79d1b540fff45a5f8cabe6d2c04f6df5 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat ALL 2 3 > tests/out.iostat-ALL.tmp
+LC_ALL=C TZ=GMT ./iostat ALL 2 3 > tests/out.iostat-ALL.tmp
index 8ecc04283697af6d22dee9b5966af9d5e5e0d309..bdc6f05e9dd5781d7b3deffbfd2799f89c530a1b 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -d -p ALL 2 3 > tests/out.iostat-p-ALL.tmp
+LC_ALL=C TZ=GMT ./iostat -d -p ALL 2 3 > tests/out.iostat-p-ALL.tmp
index bc8afb2cd17f2f4be1bf24bf5c0d599c88145ede..faa1c5a275f0cf734750e06dc4248151bc21e97c 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -p sda 2 3 > tests/out.iostat-p-sda.tmp
+LC_ALL=C TZ=GMT ./iostat -p sda 2 3 > tests/out.iostat-p-sda.tmp
index 2a0f48efa929ec4bf11b9b353431fc8c691951fa..4182e4d6428b93b81c194cfae1da10de1ac6b2d5 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -d ALL -p ALL 2 3 > tests/out.iostat-ALL-p-ALL.tmp
+LC_ALL=C TZ=GMT ./iostat -d ALL -p ALL 2 3 > tests/out.iostat-ALL-p-ALL.tmp
index 9969352fc041463843e3b16c80f9e60b33ec4e32..af1c4eb83f786839de261635f8591d805e1bc804 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat > tests/out.iostat-0.tmp
+LC_ALL=C TZ=GMT ./iostat > tests/out.iostat-0.tmp
index bb60dd8d22d671fb61261838dff91f72e3c0d799..fd281f3b2d3bd40766090bfcbf615b7e4143bbb9 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat sda sdc 2 3 > tests/out.iostat-list.tmp
+LC_ALL=C TZ=GMT ./iostat sda sdc 2 3 > tests/out.iostat-list.tmp
index fd1337685b899dbaed4b980c33526a00837ff5c4..44a1bb307ceb2f2f83907a6c417d7c17a7675e05 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -x 1 2 > tests/out.iostat-x.tmp
+LC_ALL=C TZ=GMT ./iostat -x 1 2 > tests/out.iostat-x.tmp
index 63a6a776668656cd4a153e1e8ce7752010305144..5c05ff45b61f19572b789332aa0bd2a1f06c9012 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -x ALL 1 2 > tests/out.iostat-x-ALL.tmp
+LC_ALL=C TZ=GMT ./iostat -x ALL 1 2 > tests/out.iostat-x-ALL.tmp
index 2052f22ea9490484b583237605f22bad0bebf1cc..3e097513c29c05c23ce1d5651ef129a53adbe04e 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -x -p ALL 1 2 > tests/out.iostat-x-p-ALL.tmp
+LC_ALL=C TZ=GMT ./iostat -x -p ALL 1 2 > tests/out.iostat-x-p-ALL.tmp
index 66bd22f1fb84b980a003eaa99534b9a077dcc36c..34cb3ceb2f3ff41f16c0702574e44bbb59985893 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -x -p sda 1 2 > tests/out.iostat-x-p-sda.tmp
+LC_ALL=C TZ=GMT ./iostat -x -p sda 1 2 > tests/out.iostat-x-p-sda.tmp
index 0cfda01fc1652c02f68a9f5149f17fa047b2e6c8..790bd2ae5e91f374f15c908aa285f48a67c87314 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -dx ALL -p ALL 1 7 > tests/out.iostat-x-ALL-p-ALL.tmp
+LC_ALL=C TZ=GMT ./iostat -dx ALL -p ALL 1 7 > tests/out.iostat-x-ALL-p-ALL.tmp
index 2f6adf1197c0cf6e36eeaaf9407f12a788288aa4..b82cc585b0d7c2ffdb7fabfb34544d1edf0f6d7f 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -x > tests/out.iostat-x-0.tmp
+LC_ALL=C TZ=GMT ./iostat -x > tests/out.iostat-x-0.tmp
index 7da7a6b6c1806abd7134f80b3046ff3e5462cb34..897ead51b0e6824f125b53ce110e0676126e2e9d 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -dx -p sdb,sdc > tests/out.iostat-x-list.tmp
+LC_ALL=C TZ=GMT ./iostat -dx -p sdb,sdc > tests/out.iostat-x-list.tmp
index 7c4efac616680ab338489ebd65e53dbc0e0edf1f..4f273925a918b0c86b0d3ccd46e5cb4dc11d0700 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -s 1 2 > tests/out.iostat-s.tmp
+LC_ALL=C TZ=GMT ./iostat -s 1 2 > tests/out.iostat-s.tmp
index 76b5e7d146770027599c3877f98e185cba89b001..15d205bd94db2461a07766b2df9fb4d6710400c1 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -ds ALL 1 2 > tests/out.iostat-s-ALL.tmp
+LC_ALL=C TZ=GMT ./iostat -ds ALL 1 2 > tests/out.iostat-s-ALL.tmp
index 640aec8fdb0639d28fb130061e880fe6e703921b..aca0b8b610dacb52e269b1543a16ad2607d694d1 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -s sdb -p ALL 1 2 > tests/out.iostat-s-list-p.tmp
+LC_ALL=C TZ=GMT ./iostat -s sdb -p ALL 1 2 > tests/out.iostat-s-list-p.tmp
index 99ba2bb5d17c61c202ea60920a24ec6beff69025..8abedd8931882109d3f97b85dec5c616b16c9e22 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -s -p > tests/out.iostat-sp-0.tmp
+LC_ALL=C TZ=GMT ./iostat -s -p > tests/out.iostat-sp-0.tmp
index 222b72f4b9c066e6678cdfbe32e4812743450be2..cbf6d23b60b34531b067616e0282bccc50e42e9a 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -s ALL -p ALL 1 2 > tests/out.iostat-s-ALL-p-ALL.tmp
+LC_ALL=C TZ=GMT ./iostat -s ALL -p ALL 1 2 > tests/out.iostat-s-ALL-p-ALL.tmp
index 8ef7271eef5d3de24d72b271f4c714da3c62709d..3d3782c6b068ed6b7bd6799ab98953544d121860 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -s > tests/out.iostat-s-0.tmp
+LC_ALL=C TZ=GMT ./iostat -s > tests/out.iostat-s-0.tmp
index 2bf7a905c91d1639d5498c443ed6da45fac2e766..2b427ec846be5500f0ff8290408048235f70181f 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -ds sda -p sdb 1 2 > tests/out.iostat-s-list.tmp
+LC_ALL=C TZ=GMT ./iostat -ds sda -p sdb 1 2 > tests/out.iostat-s-list.tmp
index 7f23cc4b56552f51d31360dc580192d3847c7519..5fc178f9405ab8fdb77d684056e0991e9dab91e8 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -xs 2 3 > tests/out.iostat-xs.tmp
+LC_ALL=C TZ=GMT ./iostat -xs 2 3 > tests/out.iostat-xs.tmp
index 564fda51fbff0317c432b4fa1583949c4dd0b95a..b56af571f7de629a5e9f3b3bde526966ae5a4cf2 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -dxs /dev/sdb 2 3 > tests/out.iostat-xs-sdb.tmp
+LC_ALL=C TZ=GMT ./iostat -dxs /dev/sdb 2 3 > tests/out.iostat-xs-sdb.tmp
index f9340c52544ca34ef1f52641dcc1fa0d56ba9354..28fdfb16366a405ed36222df08c84dddda1b3e6e 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -dxs -p sda 2 3 > tests/out.iostat-xs-p-sda.tmp
+LC_ALL=C TZ=GMT ./iostat -dxs -p sda 2 3 > tests/out.iostat-xs-p-sda.tmp
index c166b26da5054aaeb1002fbb1fa7777d2edba7d3..45b763c57429da9d75b0b495b4b0b8382e9374b2 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -xs sda1 sda3 sdc1 -p sdb,sdd > tests/out.iostat-xs-list.tmp
+LC_ALL=C TZ=GMT ./iostat -xs sda1 sda3 sdc1 -p sdb,sdd > tests/out.iostat-xs-list.tmp
index 5650c84a376474fb87fed12730a252c771028a51..17801ed4cf18f89ea6918adfb87e97f621d32707 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -xs sda3 sda1 1 3 > tests/out.iostat-xs-list-part.tmp
+LC_ALL=C TZ=GMT ./iostat -xs sda3 sda1 1 3 > tests/out.iostat-xs-list-part.tmp
index 36ab158d6de1a360b65afdb96177e091c8086f01..fbfcac68fea6d0aecdbe8c253431b84b53729147 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat 2 > tests/out.iostat-sigint.tmp
+LC_ALL=C TZ=GMT ./iostat 2 > tests/out.iostat-sigint.tmp
index 2590055b6b65231348ee87527027f1fd71dec9e8..6664928c71cf695d450b0d325ce5df6fca014bad 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -d foo > tests/out.iostat-foo.tmp
+LC_ALL=C TZ=GMT ./iostat -d foo > tests/out.iostat-foo.tmp
index 38bf70a31b73e15e559a120df2538b3a54253158..d7652109c452fb0b22cc91f142d06e32c5fc4331 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -d -g disks sda sdb -g other sdc sdd 1 2 > tests/out.iostat-g.tmp
+LC_ALL=C TZ=GMT ./iostat -d -g disks sda sdb -g other sdc sdd 1 2 > tests/out.iostat-g.tmp
index 61dc413a11857c1f046be7ee1d8ca5eba030e760..f77934cc724230a280749e25820134a7f8f9100c 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -dH -g disks sda sdb -g other sdc sdd 1 2 > tests/out.iostat-gH.tmp
+LC_ALL=C TZ=GMT ./iostat -dH -g disks sda sdb -g other sdc sdd 1 2 > tests/out.iostat-gH.tmp
index 145ff17e5d77c38db49a77aa8af1ee0a370d89be..c7a389166131fddcc6593c60d38beb6b203cb194 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat --dec=1 1 2 > tests/out.iostat-dec.tmp
+LC_ALL=C TZ=GMT ./iostat --dec=1 1 2 > tests/out.iostat-dec.tmp
index 4b47007ac86bf7c902843dd69db883b64b693126..9d4afc773fd3b3b688c7571d5f5f2e312ec646b9 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -d -p ALL -j PATH > tests/out.iostat-jPATH.tmp
+LC_ALL=C TZ=GMT ./iostat -d -p ALL -j PATH > tests/out.iostat-jPATH.tmp
index 4c9763ed0eb11c102080d6953b8b8b5d6bbef0b0..ebf6791c5f40ed4c64c2d1df25345ad1ad9dcbb4 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -d -p ALL -j ID > tests/out.iostat-jID.tmp
+LC_ALL=C TZ=GMT ./iostat -d -p ALL -j ID > tests/out.iostat-jID.tmp
index 1ec656aad9a0bc04f55c81807091ddefec944a28..d278b7d67131b6bbde484ecfb4ae017932b7fbd2 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -d -p ALL -j LABEL > tests/out.iostat-jLABEL.tmp
+LC_ALL=C TZ=GMT ./iostat -d -p ALL -j LABEL > tests/out.iostat-jLABEL.tmp
index 769a42b67588508872b51cd176ed3ef36cc5c762..629151eddd0d03c97f69d15c18a42e9d15a13134 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -d -p ALL -j PARTUUID > tests/out.iostat-jPARTUUID.tmp
+LC_ALL=C TZ=GMT ./iostat -d -p ALL -j PARTUUID > tests/out.iostat-jPARTUUID.tmp
index 9f23f3fdc61b21d25fdf85f4002455c919f1f4ff..5247da4e607215bb809eff450d86050820eb3467 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -ym 1 2 > tests/out.iostat-ym.tmp
+LC_ALL=C TZ=GMT ./iostat -ym 1 2 > tests/out.iostat-ym.tmp
index c54de91c71efe83c0398d2547e7358a6ed436fe8..2e238f3833f9bf6c483194120c752dc09d8f9fb5 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat --human > tests/out.iostat-human.tmp
+LC_ALL=C TZ=GMT ./iostat --human > tests/out.iostat-human.tmp
index 8036803c9b03e794018d294cd5f1ddac2efb1121..c2bddc0d8c949fe4f7c82a3674981606e80d0499 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -dh -p ALL > tests/out.iostat-h.tmp
+LC_ALL=C TZ=GMT ./iostat -dh -p ALL > tests/out.iostat-h.tmp
index a1e5ab6994f4cd7ee3d6ec8f90ff33515df9f4b2..0842557e48b9ffcf020182584549cabd1fa614f9 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -kz -p ALL 1 2 > tests/out.iostat-kz.tmp
+LC_ALL=C TZ=GMT ./iostat -kz -p ALL 1 2 > tests/out.iostat-kz.tmp
index f9e738b416ddc71ec4c3e0870617b778b7e8ed4e..22e3a34e0c616fef739a5d222c6d01d7a47d4001 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -dN -p ALL > tests/out.iostat-N.tmp
+LC_ALL=C TZ=GMT ./iostat -dN -p ALL > tests/out.iostat-N.tmp
index fe973ccafa161bbd65fdb45889f841236c4f76e3..01abc7fd46ee3d2068ca513671227d6cea37bb6e 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -d -j LABEL OS SYSTEM 1 2 > tests/out.iostat-jLABEL-list.tmp
+LC_ALL=C TZ=GMT ./iostat -d -j LABEL OS SYSTEM 1 2 > tests/out.iostat-jLABEL-list.tmp
index 75da5cc83877dea6d48d5cc69e0887459c584b26..6f4059d7ae589fc8f9cb6f847fb742d594ee61d4 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -dxs -j UUID 2578463f-6947-48c7-8b09-876a4145cfb1 1 2 > tests/out.iostat-jUUID-list.tmp
+LC_ALL=C TZ=GMT ./iostat -dxs -j UUID 2578463f-6947-48c7-8b09-876a4145cfb1 1 2 > tests/out.iostat-jUUID-list.tmp
index 6e539d867e906fa2dfa566c73aa00b01fb4a5447..fa9f4cd6bf64e03e6c0ccc8f50a48dc128ce3423 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -g total sda -g foo 1 2 > tests/out.iostat-g2.tmp
+LC_ALL=C TZ=GMT ./iostat -g total sda -g foo 1 2 > tests/out.iostat-g2.tmp
index cc7e4721e332d9ddff814717d224dfd597d249c1..7dda55dc89593533f0a697dbf7006e099be8325a 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -g total ALL 1 2 > tests/out.iostat-gALL.tmp
+LC_ALL=C TZ=GMT ./iostat -g total ALL 1 2 > tests/out.iostat-gALL.tmp
index 84501f06d11357e4c6cf0460d1a1ec2d72681422..9bdfe05da64a4ee3418543f2c02b518b31375865 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -g total -p ALL 1 2 > tests/out.iostat-gpALL.tmp
+LC_ALL=C TZ=GMT ./iostat -g total -p ALL 1 2 > tests/out.iostat-gpALL.tmp
index 021ac04261f142988247309528cc98e4d044afe1..878d3c1ec26fdb770388c9633f36d92b355b127d 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -g total -p sda 1 2 > tests/out.iostat-gp.tmp
+LC_ALL=C TZ=GMT ./iostat -g total -p sda 1 2 > tests/out.iostat-gp.tmp
index dfea9ca0e36973ddad4cc1ab1b50c9386207fb9f..30983855b321a60fa43a4cfe824ef7511d46d0c6 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root1 tests/root
-LC_ALL=C ./iostat -g total -p sda -y 1 3 > tests/out.iostat-gpy.tmp
+LC_ALL=C TZ=GMT ./iostat -g total -p sda -y 1 3 > tests/out.iostat-gpy.tmp
index 2e87a9f247dbafa1de40c620d8c7e3dbd5aef392..d420ac677ccd375bad8262d3e52f48588c3c6ed9 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root6 tests/root
-LC_ALL=C ./iostat -p cciss/c0d0 1 2 > tests/out.iostat-p-cciss.tmp
+LC_ALL=C TZ=GMT ./iostat -p cciss/c0d0 1 2 > tests/out.iostat-p-cciss.tmp
index 3f9d335a377c24bb3f1464755075e3766143bf6f..de01f8828135dd72bf73766338c866cced8fd92b 100644 (file)
@@ -1,3 +1,3 @@
 rm -f tests/root
 ln -s root6 tests/root
-LC_ALL=C ./iostat cciss/c0d0p2 1 2 > tests/out.iostat-cciss.tmp
+LC_ALL=C TZ=GMT ./iostat cciss/c0d0p2 1 2 > tests/out.iostat-cciss.tmp
index 1d02c14378d33caef03ad133763ba9dd1cc6eb6d..e2aaf08c32310940294d69099ced9fced5b51a43 100644 (file)
@@ -240,86 +240,86 @@ NOTES:
 01669  cat tests/out.data-wghfreq-sadf-x.tmp | $VER_XML --dtdvalid xml/sysstat-*.dtd - >/dev/null;
 
 =====  iostat tests (basic output)
-02010  LC_ALL=C ./iostat 2 3 > tests/out.iostat.tmp
+02010  LC_ALL=C TZ=GMT ./iostat 2 3 > tests/out.iostat.tmp
 02015  diff -u tests/out.iostat.tmp tests/expected.iostat
-02020  LC_ALL=C ./iostat ALL 2 3 > tests/out.iostat-ALL.tmp
+02020  LC_ALL=C TZ=GMT ./iostat ALL 2 3 > tests/out.iostat-ALL.tmp
 02025  diff -u tests/out.iostat-ALL.tmp tests/expected.iostat-ALL
-02030  LC_ALL=C ./iostat -d -p ALL 2 3 > tests/out.iostat-p-ALL.tmp
+02030  LC_ALL=C TZ=GMT ./iostat -d -p ALL 2 3 > tests/out.iostat-p-ALL.tmp
 02035  diff -u tests/out.iostat-p-ALL.tmp tests/expected.iostat-p-ALL
-02040  LC_ALL=C ./iostat -p sda 2 3 > tests/out.iostat-p-sda.tmp
+02040  LC_ALL=C TZ=GMT ./iostat -p sda 2 3 > tests/out.iostat-p-sda.tmp
 02045  diff -u tests/out.iostat-p-sda.tmp tests/expected.iostat-p-sda
-02050  LC_ALL=C ./iostat -d ALL -p ALL 2 3 > tests/out.iostat-ALL-p-ALL.tmp
+02050  LC_ALL=C TZ=GMT ./iostat -d ALL -p ALL 2 3 > tests/out.iostat-ALL-p-ALL.tmp
 02055  diff -u tests/out.iostat-ALL-p-ALL.tmp tests/expected.iostat-ALL-p-ALL
-02060  LC_ALL=C ./iostat > tests/out.iostat-0.tmp
+02060  LC_ALL=C TZ=GMT ./iostat > tests/out.iostat-0.tmp
 02065  diff -u tests/out.iostat-0.tmp tests/expected.iostat-0
-02070  LC_ALL=C ./iostat sda sdc 2 3 > tests/out.iostat-list.tmp
+02070  LC_ALL=C TZ=GMT ./iostat sda sdc 2 3 > tests/out.iostat-list.tmp
 02075  diff -u tests/out.iostat-list.tmp tests/expected.iostat-list
 
 =====  iostat extended statistics
-02110  LC_ALL=C ./iostat -x 1 2 > tests/out.iostat-x.tmp
+02110  LC_ALL=C TZ=GMT ./iostat -x 1 2 > tests/out.iostat-x.tmp
 02115  diff -u tests/out.iostat-x.tmp tests/expected.iostat-x
-02120  LC_ALL=C ./iostat -x ALL 1 2 > tests/out.iostat-x-ALL.tmp
+02120  LC_ALL=C TZ=GMT ./iostat -x ALL 1 2 > tests/out.iostat-x-ALL.tmp
 02125  diff -u tests/out.iostat-x-ALL.tmp tests/expected.iostat-x-ALL
-02130  LC_ALL=C ./iostat -x -p ALL 1 2 > tests/out.iostat-x-p-ALL.tmp
+02130  LC_ALL=C TZ=GMT ./iostat -x -p ALL 1 2 > tests/out.iostat-x-p-ALL.tmp
 02135  diff -u tests/out.iostat-x-p-ALL.tmp tests/expected.iostat-x-p-ALL
-02140  LC_ALL=C ./iostat -x -p sda 1 2 > tests/out.iostat-x-p-sda.tmp
+02140  LC_ALL=C TZ=GMT ./iostat -x -p sda 1 2 > tests/out.iostat-x-p-sda.tmp
 02145  diff -u tests/out.iostat-x-p-sda.tmp tests/expected.iostat-x-p-sda
-02150  LC_ALL=C ./iostat -dx ALL -p ALL 1 7 > tests/out.iostat-x-ALL-p-ALL.tmp
+02150  LC_ALL=C TZ=GMT ./iostat -dx ALL -p ALL 1 7 > tests/out.iostat-x-ALL-p-ALL.tmp
 02155  diff -u tests/out.iostat-x-ALL-p-ALL.tmp tests/expected.iostat-x-ALL-p-ALL
-02160  LC_ALL=C ./iostat -x > tests/out.iostat-x-0.tmp
+02160  LC_ALL=C TZ=GMT ./iostat -x > tests/out.iostat-x-0.tmp
 02165  diff -u tests/out.iostat-x-0.tmp tests/expected.iostat-x-0
-02170  LC_ALL=C ./iostat -dx -p sdb,sdc > tests/out.iostat-x-list.tmp
+02170  LC_ALL=C TZ=GMT ./iostat -dx -p sdb,sdc > tests/out.iostat-x-list.tmp
 02175  diff -u tests/out.iostat-x-list.tmp tests/expected.iostat-x-list
 
 =====  iostat tests (narrow/basic output)
-02210  LC_ALL=C ./iostat -s 1 2 > tests/out.iostat-s.tmp
+02210  LC_ALL=C TZ=GMT ./iostat -s 1 2 > tests/out.iostat-s.tmp
 02215  diff -u tests/out.iostat-s.tmp tests/expected.iostat-s
-02220  LC_ALL=C ./iostat -ds ALL 1 2 > tests/out.iostat-s-ALL.tmp
+02220  LC_ALL=C TZ=GMT ./iostat -ds ALL 1 2 > tests/out.iostat-s-ALL.tmp
 02225  diff -u tests/out.iostat-s-ALL.tmp tests/expected.iostat-s-ALL
-02230  LC_ALL=C ./iostat -s sdb -p ALL 1 2 > tests/out.iostat-s-list-p.tmp
+02230  LC_ALL=C TZ=GMT ./iostat -s sdb -p ALL 1 2 > tests/out.iostat-s-list-p.tmp
 02235  diff -u tests/out.iostat-s-list-p.tmp tests/expected.iostat-s-list-p
-02240  LC_ALL=C ./iostat -s -p > tests/out.iostat-sp-0.tmp
+02240  LC_ALL=C TZ=GMT ./iostat -s -p > tests/out.iostat-sp-0.tmp
 02245  diff -u tests/out.iostat-sp-0.tmp tests/expected.iostat-sp-0
-02250  LC_ALL=C ./iostat -s ALL -p ALL 1 2 > tests/out.iostat-s-ALL-p-ALL.tmp
+02250  LC_ALL=C TZ=GMT ./iostat -s ALL -p ALL 1 2 > tests/out.iostat-s-ALL-p-ALL.tmp
 02255  diff -u tests/out.iostat-s-ALL-p-ALL.tmp tests/expected.iostat-s-ALL-p-ALL
-02260  LC_ALL=C ./iostat -s > tests/out.iostat-s-0.tmp
+02260  LC_ALL=C TZ=GMT ./iostat -s > tests/out.iostat-s-0.tmp
 02265  diff -u tests/out.iostat-s-0.tmp tests/expected.iostat-s-0
-02270  LC_ALL=C ./iostat -ds sda -p sdb 1 2 > tests/out.iostat-s-list.tmp
+02270  LC_ALL=C TZ=GMT ./iostat -ds sda -p sdb 1 2 > tests/out.iostat-s-list.tmp
 02275  diff -u tests/out.iostat-s-list.tmp tests/expected.iostat-s-list
 
 =====  iostat extended statistics (narrow output)
-02310  LC_ALL=C ./iostat -xs 2 3 > tests/out.iostat-xs.tmp
+02310  LC_ALL=C TZ=GMT ./iostat -xs 2 3 > tests/out.iostat-xs.tmp
 02315  diff -u tests/out.iostat-xs.tmp tests/expected.iostat-xs
-02320  LC_ALL=C ./iostat -dxs /dev/sdb 2 3 > tests/out.iostat-xs-sdb.tmp
+02320  LC_ALL=C TZ=GMT ./iostat -dxs /dev/sdb 2 3 > tests/out.iostat-xs-sdb.tmp
 02325  diff -u tests/out.iostat-xs-sdb.tmp tests/expected.iostat-xs-sdb
-02340  LC_ALL=C ./iostat -dxs -p sda 2 3 > tests/out.iostat-xs-p-sda.tmp
+02340  LC_ALL=C TZ=GMT ./iostat -dxs -p sda 2 3 > tests/out.iostat-xs-p-sda.tmp
 02345  diff -u tests/out.iostat-xs-p-sda.tmp tests/expected.iostat-xs-p-sda
-02370  LC_ALL=C ./iostat -xs sda1 sda3 sdc1 -p sdb,sdd > tests/out.iostat-xs-list.tmp
+02370  LC_ALL=C TZ=GMT ./iostat -xs sda1 sda3 sdc1 -p sdb,sdd > tests/out.iostat-xs-list.tmp
 02375  diff -u tests/out.iostat-xs-list.tmp tests/expected.iostat-xs-list
-02380  LC_ALL=C ./iostat -xs sda3 sda1 1 3 > tests/out.iostat-xs-list-part.tmp
+02380  LC_ALL=C TZ=GMT ./iostat -xs sda3 sda1 1 3 > tests/out.iostat-xs-list-part.tmp
 02385  diff -u tests/out.iostat-xs-list-part.tmp tests/expected.iostat-xs-list-part
 
 =====  Playing with iostat
-02410  LC_ALL=C ./iostat 2 > tests/out.iostat-sigint.tmp
+02410  LC_ALL=C TZ=GMT ./iostat 2 > tests/out.iostat-sigint.tmp
        [Simulate a Ctrl/C]
 02415  diff -u tests/out.iostat-sigint.tmp tests/expected.iostat-sigint
-02420  LC_ALL=C ./iostat -d foo > tests/out.iostat-foo.tmp
+02420  LC_ALL=C TZ=GMT ./iostat -d foo > tests/out.iostat-foo.tmp
 02425  diff -u tests/out.iostat-foo.tmp tests/expected.iostat-foo
 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
+02440  LC_ALL=C TZ=GMT ./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
-02450  LC_ALL=C ./iostat -dH -g disks sda sdb -g other sdc sdd 1 2 > tests/out.iostat-gH.tmp
+02450  LC_ALL=C TZ=GMT ./iostat -dH -g disks sda sdb -g other sdc sdd 1 2 > tests/out.iostat-gH.tmp
 02455  diff -u tests/out.iostat-gH.tmp tests/expected.iostat-gH
-02460  LC_ALL=C ./iostat --dec=1 1 2 > tests/out.iostat-dec.tmp
+02460  LC_ALL=C TZ=GMT ./iostat --dec=1 1 2 > tests/out.iostat-dec.tmp
 02465  diff -u tests/out.iostat-dec.tmp tests/expected.iostat-dec
-02470  LC_ALL=C ./iostat -d -p ALL -j PATH > tests/out.iostat-jPATH.tmp
+02470  LC_ALL=C TZ=GMT ./iostat -d -p ALL -j PATH > tests/out.iostat-jPATH.tmp
 02472  diff -u tests/out.iostat-jPATH.tmp tests/expected.iostat-jPATH
-02474  LC_ALL=C ./iostat -d -p ALL -j ID > tests/out.iostat-jID.tmp
+02474  LC_ALL=C TZ=GMT ./iostat -d -p ALL -j ID > tests/out.iostat-jID.tmp
 02476  diff -u tests/out.iostat-jID.tmp tests/expected.iostat-jID
-02480  LC_ALL=C ./iostat -d -p ALL -j LABEL > tests/out.iostat-jLABEL.tmp
+02480  LC_ALL=C TZ=GMT ./iostat -d -p ALL -j LABEL > tests/out.iostat-jLABEL.tmp
 02482  diff -u tests/out.iostat-jLABEL.tmp tests/expected.iostat-jLABEL
-02484  LC_ALL=C ./iostat -d -p ALL -j PARTUUID > tests/out.iostat-jPARTUUID.tmp
+02484  LC_ALL=C TZ=GMT ./iostat -d -p ALL -j PARTUUID > tests/out.iostat-jPARTUUID.tmp
 02486  diff -u tests/out.iostat-jPARTUUID.tmp tests/expected.iostat-jPARTUUID
 
 =====  Testing iostat error cases
@@ -330,31 +330,31 @@ NOTES:
 02520  LC_ALL=C ./iostat -j FOObar 2>&1 | grep "Invalid" >/dev/null
 
 =====  Playing again with iostat
-02600  LC_ALL=C ./iostat -ym 1 2 > tests/out.iostat-ym.tmp
+02600  LC_ALL=C TZ=GMT ./iostat -ym 1 2 > tests/out.iostat-ym.tmp
 02605  diff -u tests/out.iostat-ym.tmp tests/expected.iostat-ym
-02610  LC_ALL=C ./iostat --human > tests/out.iostat-human.tmp
+02610  LC_ALL=C TZ=GMT ./iostat --human > tests/out.iostat-human.tmp
 02615  diff -u tests/out.iostat-human.tmp tests/expected.iostat-human
-02620  LC_ALL=C ./iostat -dh -p ALL > tests/out.iostat-h.tmp
+02620  LC_ALL=C TZ=GMT ./iostat -dh -p ALL > tests/out.iostat-h.tmp
 02625  diff -u tests/out.iostat-h.tmp tests/expected.iostat-h
-02630  LC_ALL=C ./iostat -kz -p ALL 1 2 > tests/out.iostat-kz.tmp
+02630  LC_ALL=C TZ=GMT ./iostat -kz -p ALL 1 2 > tests/out.iostat-kz.tmp
 02635  diff -u tests/out.iostat-kz.tmp tests/expected.iostat-kz
-02640  LC_ALL=C ./iostat -dN -p ALL > tests/out.iostat-N.tmp
+02640  LC_ALL=C TZ=GMT ./iostat -dN -p ALL > tests/out.iostat-N.tmp
 02645  diff -u tests/out.iostat-N.tmp tests/expected.iostat-N
-02650  LC_ALL=C ./iostat -d -j LABEL OS SYSTEM 1 2 > tests/out.iostat-jLABEL-list.tmp
+02650  LC_ALL=C TZ=GMT ./iostat -d -j LABEL OS SYSTEM 1 2 > tests/out.iostat-jLABEL-list.tmp
 02655  diff -u tests/out.iostat-jLABEL-list.tmp tests/expected.iostat-jLABEL-list
-02660  LC_ALL=C ./iostat -dxs -j UUID 2578463f-6947-48c7-8b09-876a4145cfb1 1 2 > tests/out.iostat-jUUID-list.tmp
+02660  LC_ALL=C TZ=GMT ./iostat -dxs -j UUID 2578463f-6947-48c7-8b09-876a4145cfb1 1 2 > tests/out.iostat-jUUID-list.tmp
 02665  diff -u tests/out.iostat-jUUID-list.tmp tests/expected.iostat-jUUID-list
-02670  LC_ALL=C ./iostat -g total sda -g foo 1 2 > tests/out.iostat-g2.tmp
+02670  LC_ALL=C TZ=GMT ./iostat -g total sda -g foo 1 2 > tests/out.iostat-g2.tmp
 02675  diff -u tests/out.iostat-g2.tmp tests/expected.iostat-g2
-02680  LC_ALL=C ./iostat -g total ALL 1 2 > tests/out.iostat-gALL.tmp
+02680  LC_ALL=C TZ=GMT ./iostat -g total ALL 1 2 > tests/out.iostat-gALL.tmp
 02685  diff -u tests/out.iostat-gALL.tmp tests/expected.iostat-gALL
-02690  LC_ALL=C ./iostat -g total -p ALL 1 2 > tests/out.iostat-gpALL.tmp
+02690  LC_ALL=C TZ=GMT ./iostat -g total -p ALL 1 2 > tests/out.iostat-gpALL.tmp
 02695  diff -u tests/out.iostat-gpALL.tmp tests/expected.iostat-gpALL
-02700  LC_ALL=C ./iostat -g total -p sda 1 2 > tests/out.iostat-gp.tmp
+02700  LC_ALL=C TZ=GMT ./iostat -g total -p sda 1 2 > tests/out.iostat-gp.tmp
 02705  diff -u tests/out.iostat-gp.tmp tests/expected.iostat-gp
-02710  LC_ALL=C ./iostat -g total -p sda -y 1 3 > tests/out.iostat-gpy.tmp
+02710  LC_ALL=C TZ=GMT ./iostat -g total -p sda -y 1 3 > tests/out.iostat-gpy.tmp
 02715  diff -u tests/out.iostat-gpy.tmp tests/expected.iostat-gpy
-02720  LC_ALL=C ./iostat -p cciss/c0d0 1 2 > tests/out.iostat-p-cciss.tmp
+02720  LC_ALL=C TZ=GMT ./iostat -p cciss/c0d0 1 2 > tests/out.iostat-p-cciss.tmp
 02725  diff -u tests/out.iostat-p-cciss.tmp tests/expected.iostat-p-cciss
-02730  LC_ALL=C ./iostat cciss/c0d0p1 1 2 > tests/out.iostat-cciss.tmp
+02730  LC_ALL=C TZ=GMT ./iostat cciss/c0d0p1 1 2 > tests/out.iostat-cciss.tmp
 02735  diff -u tests/out.iostat-cciss.tmp tests/expected.iostat-cciss