From 42e9cd478c29b5208c1a04461aa53ead45ded3d6 Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Sun, 23 Jan 2022 14:45:45 +0100 Subject: [PATCH] Update non regression tests Signed-off-by: Sebastien GODARD --- tests/{00795 => 00791} | 0 tests/00793 | 1 + tests/00794 | 1 + tests/TLIST | 4 +++- tests/data-ukwn1 | Bin 0 -> 2872 bytes tests/expected.sadf-data-ukwn1 | 15 +++++++++++++++ tests/expected3.sar-data-ukwn | 6 ++++++ 7 files changed, 26 insertions(+), 1 deletion(-) rename tests/{00795 => 00791} (100%) create mode 100644 tests/00793 create mode 100644 tests/00794 create mode 100644 tests/data-ukwn1 create mode 100644 tests/expected.sadf-data-ukwn1 create mode 100644 tests/expected3.sar-data-ukwn diff --git a/tests/00795 b/tests/00791 similarity index 100% rename from tests/00795 rename to tests/00791 diff --git a/tests/00793 b/tests/00793 new file mode 100644 index 0000000..d02cb54 --- /dev/null +++ b/tests/00793 @@ -0,0 +1 @@ +LC_ALL=C TZ=GMT ./sar -uq -f tests/data-ukwn1 > tests/out.sar-data-ukwn1.tmp && diff -u tests/expected3.sar-data-ukwn tests/out.sar-data-ukwn1.tmp diff --git a/tests/00794 b/tests/00794 new file mode 100644 index 0000000..f0c83e2 --- /dev/null +++ b/tests/00794 @@ -0,0 +1 @@ +LC_ALL=C ./sadf -H tests/data-ukwn1 > tests/out.sadf-data-ukwn1.tmp && diff -u tests/expected.sadf-data-ukwn1 tests/out.sadf-data-ukwn1.tmp diff --git a/tests/TLIST b/tests/TLIST index 32967fc..c86632f 100644 --- a/tests/TLIST +++ b/tests/TLIST @@ -166,7 +166,9 @@ NOTES: 00784 LC_ALL=C TZ=GMT ./sar -w -f tests/data-ukwn > tests/out2.sar-data-ukwn.tmp 00787 LC_ALL=C ./sadf -H tests/data-ukwn > tests/out.sadf-data-ukwn.tmp 00790 LC_ALL=C TZ=GMT ./sar -A -f tests/data-ukwn0 > tests/out.sar-data-ukwn0.tmp -00795 LC_ALL=C ./sadf -H tests/data-ukwn0 > tests/out.sadf-data-ukwn0.tmp +00791 LC_ALL=C ./sadf -H tests/data-ukwn0 > tests/out.sadf-data-ukwn0.tmp +00793 LC_ALL=C TZ=GMT ./sar -uq -f tests/data-ukwn1 > tests/out.sar-data-ukwn1.tmp +00794 LC_ALL=C ./sadf -H tests/data-ukwn1 > tests/out.sadf-data-ukwn1.tmp ===== Testing sar's options 00800 LC_ALL=C TZ=GMT ./sar --iface=lo,enp6s0,eth0 -n DEV,EDEV -f tests/data.tmp > tests/out.sar-iface.tmp diff --git a/tests/data-ukwn1 b/tests/data-ukwn1 new file mode 100644 index 0000000000000000000000000000000000000000..514f6a4cc0099567e2779a7891f8c5fb2250dd31 GIT binary patch literal 2872 zcmbPswN#OZm5m{QkpT=q6bSP`xFnJ7;cpW`8d9LTIDs@15LZF@APOc1VuS2a0b&Ud z2MEL&ID9hmN-H2d^2nV0Z$nW^`#nC7{%OsKI&=BT*%RJXc&7Dlr{uZ!grmkL;*AVE)iW6^8SkLfyv( z6)Al9S~nmUMiQfT3)57n%MYzPwjJ(~KjQ1>ymLKu(G+$RIoD}ZDMGE*8FKA?030{qMn zTA&tU-bR?iA;Ju^q4r5b`REis)O}E83_qcaR;c@Qq2|N%i9s2#^Z*mbMVA95T!B~} zh&Q776{M#Fnm0P2Wfw>cm^Tza(b|n8ZxsK)o;Myq&DV!{24ol#z?C;9QaNvYq;lRk zM`qr*fg^7OHbDZ2)V%QxN8aGChnPpLypc*~-jKnOH;QrOjXBVCLTcW4Nu|62sux{= z7+2nS1I-(qsCh#X6s