]> granicus.if.org Git - sysstat/commitdiff
Update non regression tests
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 7 Nov 2020 08:55:17 +0000 (09:55 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 7 Nov 2020 08:55:17 +0000 (09:55 +0100)
Add new non regression test for sadf.
Update non regression test for mpstat.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
tests/01470 [new file with mode: 0644]
tests/TLIST
tests/expected.mpstat-T
tests/root2/sys/devices/system/cpu/cpu2/topology/physical_package_id
tests/root2/sys/devices/system/cpu/cpu6/topology/physical_package_id

diff --git a/tests/01470 b/tests/01470
new file mode 100644 (file)
index 0000000..5715668
--- /dev/null
@@ -0,0 +1 @@
+LC_ALL=C ./sadf -x -j tests/data.tmp 2>&1 | grep "Usage:" >/dev/null
index 3922c4a3bea107106054445c16a23955faa0b94d..099f2e8a5d68f2bb6ffd7e630030d313d0b2be3b 100644 (file)
@@ -214,6 +214,7 @@ NOTES:
 01440  LC_ALL=C TZ=GMT ./sar --unix_time=123456789 2>&1 | grep "Please check" >/dev/null
 01450  LC_ALL=C TZ=GMT ./sar -f tests/data-9.1.6 2>&1 | grep "cannot read the format of this file" >/dev/null
 01460  LC_ALL=C ./sar -q FOO 2>&1 | grep "Usage:" >/dev/null
+01470  LC_ALL=C ./sadf -x -j tests/data.tmp 2>&1 | grep "Usage:" >/dev/null
 
 =====  Specific tests for sensors statistics (basic sensor output already tested using data-11.6.5 conversion)
 01500  LC_ALL=C TZ=GMT ./sadf -d tests/data-11.6.5.tmp -- -m FAN,IN,TEMP > tests/out.data-11.6.5-sadf-d.tmp
index f42acede552fbb9574e93cbeaa694e1af0a3a3ad..6e30fcca80dffa26a5bc56f308ffdba45ece3d27 100644 (file)
@@ -4,11 +4,11 @@ Linux 1.2.3-TEST (SYSSTAT.TEST)       01/01/70        _x86_64_        (9 CPU)
 00:00:01     all                   2.15   12.50    1.84    0.12    0.34    0.19    0.00    0.00    0.00   82.88
 00:00:01       0    0    0    0    2.71    0.03    2.16    0.00    0.32    0.64    0.00    0.00    0.00   94.14
 00:00:01       1    1    0    1    2.85    0.00    4.28    0.00    0.68    0.19    0.00    0.00    0.00   91.99
-00:00:01       2    2    0    0    2.25    0.03    1.51    0.68    0.23    0.13    0.00    0.00    0.00   95.18
+00:00:01       2    2    4    0    2.25    0.03    1.51    0.68    0.23    0.13    0.00    0.00    0.00   95.18
 00:00:01       3    3    0    1    0.00   99.55    0.06    0.00    0.32    0.06    0.00    0.00    0.00    0.00
 00:00:01       4    0    0    0    2.41    0.00    1.61    0.03    0.26    0.19    0.00    0.00    0.00   95.50
 00:00:01       5    1    0    1    1.65    0.00    2.33    0.00    0.36    0.10    0.00    0.00    0.00   95.57
-00:00:01       6    2    0    0    2.41    0.00    2.03    0.16    0.48    0.10    0.00    0.00    0.00   94.82
+00:00:01       6    2    1    0    2.41    0.00    2.03    0.16    0.48    0.10    0.00    0.00    0.00   94.82
 00:00:01       7    3    0    1    2.89    0.00    0.74    0.06    0.06    0.06    0.00    0.00    0.00   96.18
 
 00:00:01     CPU CORE SOCK NODE    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle