--- /dev/null
+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
--- /dev/null
+diff -u tests/out.iostat-xs-list-part.tmp tests/expected.iostat-xs-list-part
--- /dev/null
+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
--- /dev/null
+diff -u tests/out.iostat-jLABEL-list.tmp tests/expected.iostat-jLABEL-list
--- /dev/null
+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
--- /dev/null
+diff -u tests/out.iostat-jUUID-list.tmp tests/expected.iostat-jUUID-list
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
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
+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
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
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
+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
+02665 diff -u tests/out.iostat-jUUID-list.tmp tests/expected.iostat-jUUID-list
--- /dev/null
+Linux 1.2.3-TEST (SYSSTAT.TEST) 01/01/70 _x86_64_ (8 CPU)
+
+ tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd Device
+ 0.01 0.29 0.00 0.00 2108 0 0 SYSTEM
+ 0.01 0.29 0.00 0.00 2092 0 0 OS
+
+
+ tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd Device
+ 0.00 0.00 0.00 0.00 0 0 0 SYSTEM
+ 0.00 0.00 0.00 0.00 0 0 0 OS
+
+
--- /dev/null
+Linux 1.2.3-TEST (SYSSTAT.TEST) 01/01/70 _x86_64_ (8 CPU)
+
+ tps kB/s rqm/s await areq-sz aqu-sz %util Device
+ 0.01 0.31 0.00 209.25 39.51 0.00 0.00 2578463f-6947-48c7-8b09-876a4145cfb1
+
+
+ tps kB/s rqm/s await areq-sz aqu-sz %util Device
+ 0.00 0.00 0.00 0.00 0.00 0.00 0.00 2578463f-6947-48c7-8b09-876a4145cfb1
+
+
--- /dev/null
+Linux 1.2.3-TEST (SYSSTAT.TEST) 01/01/70 _x86_64_ (8 CPU)
+
+avg-cpu: %user %nice %system %iowait %steal %idle
+ 1.65 44.90 1.84 1.01 0.00 50.60
+
+Device tps kB/s rqm/s await areq-sz aqu-sz %util
+sda1 0.01 0.29 0.00 60.92 41.33 0.00 0.00
+sda3 0.01 0.29 0.00 57.78 42.86 0.00 0.00
+
+
+avg-cpu: %user %nice %system %iowait %steal %idle
+ 2.15 12.50 2.35 0.12 0.00 82.89
+
+Device tps kB/s rqm/s await areq-sz aqu-sz %util
+sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00
+sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00
+
+
+avg-cpu: %user %nice %system %iowait %steal %idle
+ 1.96 12.49 1.91 0.52 0.00 83.13
+
+Device tps kB/s rqm/s await areq-sz aqu-sz %util
+sda1 6.40 3.20 6.40 1.00 0.50 0.00 0.32
+sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00
+
+