From 44b6695399b012d1d45f795db888b7f589356da2 Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Wed, 7 Feb 2018 09:30:27 +0100 Subject: [PATCH] Add more tests for Travis CI Add several tests for continuous integration. In particular some tests, which previously failed because of endianness mismatch (see #145), are restored (sar should now be able to process both endian formats). Signed-off-by: Sebastien GODARD --- tests/{001 => 0010} | 0 tests/{002 => 0020} | 0 tests/{003 => 0030} | 0 tests/{004 => 0040} | 0 tests/{005 => 0050} | 0 tests/{006 => 0060} | 0 tests/{007 => 0070} | 0 tests/{008 => 0080} | 0 tests/009.old | 1 - tests/0090 | 2 ++ tests/0091 | 1 + tests/0092 | 1 + tests/0100 | 1 + tests/0101 | 1 + tests/0102 | 1 + tests/0103 | 1 + tests/0104 | 1 + tests/0105 | 1 + tests/0106 | 1 + tests/{010.old => 0110} | 0 tests/{011.old => 0120} | 0 tests/{012.old => 0130} | 0 tests/{013.old => 0140} | 0 tests/0150 | 1 + tests/data-ppc-11.7.2 | Bin 0 -> 8888 bytes 25 files changed, 12 insertions(+), 1 deletion(-) rename tests/{001 => 0010} (100%) rename tests/{002 => 0020} (100%) rename tests/{003 => 0030} (100%) rename tests/{004 => 0040} (100%) rename tests/{005 => 0050} (100%) rename tests/{006 => 0060} (100%) rename tests/{007 => 0070} (100%) rename tests/{008 => 0080} (100%) delete mode 100644 tests/009.old create mode 100644 tests/0090 create mode 100644 tests/0091 create mode 100644 tests/0092 create mode 100644 tests/0100 create mode 100644 tests/0101 create mode 100644 tests/0102 create mode 100644 tests/0103 create mode 100644 tests/0104 create mode 100644 tests/0105 create mode 100644 tests/0106 rename tests/{010.old => 0110} (100%) rename tests/{011.old => 0120} (100%) rename tests/{012.old => 0130} (100%) rename tests/{013.old => 0140} (100%) create mode 100644 tests/0150 create mode 100644 tests/data-ppc-11.7.2 diff --git a/tests/001 b/tests/0010 similarity index 100% rename from tests/001 rename to tests/0010 diff --git a/tests/002 b/tests/0020 similarity index 100% rename from tests/002 rename to tests/0020 diff --git a/tests/003 b/tests/0030 similarity index 100% rename from tests/003 rename to tests/0030 diff --git a/tests/004 b/tests/0040 similarity index 100% rename from tests/004 rename to tests/0040 diff --git a/tests/005 b/tests/0050 similarity index 100% rename from tests/005 rename to tests/0050 diff --git a/tests/006 b/tests/0060 similarity index 100% rename from tests/006 rename to tests/0060 diff --git a/tests/007 b/tests/0070 similarity index 100% rename from tests/007 rename to tests/0070 diff --git a/tests/008 b/tests/0080 similarity index 100% rename from tests/008 rename to tests/0080 diff --git a/tests/009.old b/tests/009.old deleted file mode 100644 index b533bc4..0000000 --- a/tests/009.old +++ /dev/null @@ -1 +0,0 @@ -./sar -C -A -f tests/data-10.3.1 >/dev/null diff --git a/tests/0090 b/tests/0090 new file mode 100644 index 0000000..e0dfe56 --- /dev/null +++ b/tests/0090 @@ -0,0 +1,2 @@ +rm -f tests/data.tmp +./sar -o tests/data.tmp 1 2 >/dev/null diff --git a/tests/0091 b/tests/0091 new file mode 100644 index 0000000..cbdd1aa --- /dev/null +++ b/tests/0091 @@ -0,0 +1 @@ +./sadc tests/data.tmp diff --git a/tests/0092 b/tests/0092 new file mode 100644 index 0000000..3b984cd --- /dev/null +++ b/tests/0092 @@ -0,0 +1 @@ +./sadc -C "Hello world!" tests/data.tmp diff --git a/tests/0100 b/tests/0100 new file mode 100644 index 0000000..8ab092e --- /dev/null +++ b/tests/0100 @@ -0,0 +1 @@ +./sar -C -A -f tests/data.tmp >/dev/null diff --git a/tests/0101 b/tests/0101 new file mode 100644 index 0000000..29b2791 --- /dev/null +++ b/tests/0101 @@ -0,0 +1 @@ +./sadf -p tests/data.tmp -C -- -A > /dev/null diff --git a/tests/0102 b/tests/0102 new file mode 100644 index 0000000..37858b0 --- /dev/null +++ b/tests/0102 @@ -0,0 +1 @@ +./sadf -d tests/data.tmp -C -- -A > /dev/null diff --git a/tests/0103 b/tests/0103 new file mode 100644 index 0000000..afce788 --- /dev/null +++ b/tests/0103 @@ -0,0 +1 @@ +./sadf -x tests/data.tmp -C -- -A > /dev/null diff --git a/tests/0104 b/tests/0104 new file mode 100644 index 0000000..899b073 --- /dev/null +++ b/tests/0104 @@ -0,0 +1 @@ +./sadf -j tests/data.tmp -C -- -A > /dev/null diff --git a/tests/0105 b/tests/0105 new file mode 100644 index 0000000..15a5f73 --- /dev/null +++ b/tests/0105 @@ -0,0 +1 @@ +./sadf -g tests/data.tmp -C -- -A > /dev/null diff --git a/tests/0106 b/tests/0106 new file mode 100644 index 0000000..42af792 --- /dev/null +++ b/tests/0106 @@ -0,0 +1 @@ +./sadf -H tests/data.tmp -C -- -A > /dev/null diff --git a/tests/010.old b/tests/0110 similarity index 100% rename from tests/010.old rename to tests/0110 diff --git a/tests/011.old b/tests/0120 similarity index 100% rename from tests/011.old rename to tests/0120 diff --git a/tests/012.old b/tests/0130 similarity index 100% rename from tests/012.old rename to tests/0130 diff --git a/tests/013.old b/tests/0140 similarity index 100% rename from tests/013.old rename to tests/0140 diff --git a/tests/0150 b/tests/0150 new file mode 100644 index 0000000..67eef84 --- /dev/null +++ b/tests/0150 @@ -0,0 +1 @@ +./sar -C -A -f tests/data-ppc-11.7.2 >/dev/null diff --git a/tests/data-ppc-11.7.2 b/tests/data-ppc-11.7.2 new file mode 100644 index 0000000000000000000000000000000000000000..9365cc2f5789a1b1b63492f87331272d62f70476 GIT binary patch literal 8888 zcmeHMdu$X%7@xgIukBrX6v?&Q!}MAzHVQ~-Q-#=gkxJB7q!1#{ws=+`HtpH;B4}-n zlp0g4#86FqCYor}5@Rrp8c{D0{{f#R1PF=N1hFwu2r53}>wC=Z?d`RdgVh|#PBQcR zzHh#n`}UjJnP0a@pDK@e-EJX-a;p#?CknE90W&UZ9jp3b&^>Zs5uhJxOzH@EP#p%n z66BJg)77-KGq%lO&sdCZ>h6hb$#__DK+S^cx&;g8*Upc2J<#4Ajnvg9`z}a|Mk5#G z_peU42D_kQ{A1vA$;NqKo!sq}cmqFwJnt!Vb zY&cdc9uUkvkAe-KK`Rv?Oy;A-f`0g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