Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
--- /dev/null
+LC_ALL=C ./sadf -d --iface=enp6s0 tests/data-long.tmp -- -n DEV 65 > tests/out.sadf-i.tmp && diff -u tests/expected.sadf-i tests/out.sadf-i.tmp
00560 LC_ALL=C ./sadf -H tests/data.tmp > tests/out.sadf-H.tmp
00570 ./sadf -r -O debug tests/data.tmp -C -- -A > tests/out.sadf-r.tmp
00580 LC_ALL=C ./sadf -d -s 13:20:20 -e 13:20:40 --iface=enp6s0 --dev=sda --fs=/dev/sda6 tests/data.tmp -- -n DEV -Fdp > tests/out.sadf-se.tmp
+00585 LC_ALL=C ./sadf -d --iface=enp6s0 tests/data-long.tmp -- -n DEV 65 > tests/out.sadf-i.tmp
00590 LC_ALL=C ./sadf -l -O pcparchive=tests/pcpar tests/data.tmp -C -- -A
===== Checking sadf conversion
--- /dev/null
+# hostname;interval;timestamp;IFACE;rxpck/s;txpck/s;rxkB/s;txkB/s;rxcmp/s;txcmp/s;rxmcst/s;%ifutil
+SYSSTAT.TEST;62;2019-04-18 13:20:29 UTC;enp6s0;26.81;8.73;32.22;1.69;0.00;0.00;4.63;0.03
+SYSSTAT.TEST;61;2019-04-18 13:20:49 UTC;enp6s0;2720.22;887.21;3269.50;171.66;0.00;0.00;42.73;2.68