Add a test using a whole device's UUID on iostat command line.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
--- /dev/null
+rm -f tests/root
+ln -s root1 tests/root
+# 12345678-abcd-98ef-8521-7539adfbaf90 is a whole device here
+LC_ALL=C TZ=GMT ./iostat -d -j UUID 12345678-abcd-98ef-8521-7539adfbaf90 > tests/out.iostat-jUUID-list2.tmp && diff -u tests/expected.iostat-jUUID-list2 tests/out.iostat-jUUID-list2.tmp
02640 LC_ALL=C TZ=GMT ./iostat -dN -p ALL > tests/out.iostat-N.tmp
02650 LC_ALL=C TZ=GMT ./iostat -d -j LABEL OS SYSTEM 1 2 > tests/out.iostat-jLABEL-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 LC_ALL=C TZ=GMT ./iostat -d -j UUID 12345678-abcd-98ef-8521-7539adfbaf90 > tests/out.iostat-jUUID-list2.tmp
02670 LC_ALL=C TZ=GMT ./iostat -g total sda -g foo 1 2 > tests/out.iostat-g2.tmp
02680 LC_ALL=C TZ=GMT ./iostat -g total ALL 1 2 > tests/out.iostat-gALL.tmp
02690 LC_ALL=C TZ=GMT ./iostat -g total -p ALL 1 2 > tests/out.iostat-gpALL.tmp
--- /dev/null
+Linux 1.2.3-TEST (SYSSTAT.TEST) 01/01/70 _x86_64_ (9 CPU)
+
+ tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd Device
+ 8.59 222.14 57.08 0.00 1597749 410544 0 12345678-abcd-98ef-8521-7539adfbaf90
+
+