]> granicus.if.org Git - sysstat/commitdiff
Add more tests for Travis CI
authorSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 7 Feb 2018 08:30:27 +0000 (09:30 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 7 Feb 2018 08:37:25 +0000 (09:37 +0100)
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 <sysstat@users.noreply.github.com>
25 files changed:
tests/0010 [moved from tests/001 with 100% similarity]
tests/0020 [moved from tests/002 with 100% similarity]
tests/0030 [moved from tests/003 with 100% similarity]
tests/0040 [moved from tests/004 with 100% similarity]
tests/0050 [moved from tests/005 with 100% similarity]
tests/0060 [moved from tests/006 with 100% similarity]
tests/0070 [moved from tests/007 with 100% similarity]
tests/0080 [moved from tests/008 with 100% similarity]
tests/009.old [deleted file]
tests/0090 [new file with mode: 0644]
tests/0091 [new file with mode: 0644]
tests/0092 [new file with mode: 0644]
tests/0100 [new file with mode: 0644]
tests/0101 [new file with mode: 0644]
tests/0102 [new file with mode: 0644]
tests/0103 [new file with mode: 0644]
tests/0104 [new file with mode: 0644]
tests/0105 [new file with mode: 0644]
tests/0106 [new file with mode: 0644]
tests/0110 [moved from tests/010.old with 100% similarity]
tests/0120 [moved from tests/011.old with 100% similarity]
tests/0130 [moved from tests/012.old with 100% similarity]
tests/0140 [moved from tests/013.old with 100% similarity]
tests/0150 [new file with mode: 0644]
tests/data-ppc-11.7.2 [new file with mode: 0644]

similarity index 100%
rename from tests/001
rename to tests/0010
similarity index 100%
rename from tests/002
rename to tests/0020
similarity index 100%
rename from tests/003
rename to tests/0030
similarity index 100%
rename from tests/004
rename to tests/0040
similarity index 100%
rename from tests/005
rename to tests/0050
similarity index 100%
rename from tests/006
rename to tests/0060
similarity index 100%
rename from tests/007
rename to tests/0070
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 (file)
index b533bc4..0000000
+++ /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 (file)
index 0000000..e0dfe56
--- /dev/null
@@ -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 (file)
index 0000000..cbdd1aa
--- /dev/null
@@ -0,0 +1 @@
+./sadc tests/data.tmp
diff --git a/tests/0092 b/tests/0092
new file mode 100644 (file)
index 0000000..3b984cd
--- /dev/null
@@ -0,0 +1 @@
+./sadc -C "Hello world!" tests/data.tmp
diff --git a/tests/0100 b/tests/0100
new file mode 100644 (file)
index 0000000..8ab092e
--- /dev/null
@@ -0,0 +1 @@
+./sar -C -A -f tests/data.tmp >/dev/null
diff --git a/tests/0101 b/tests/0101
new file mode 100644 (file)
index 0000000..29b2791
--- /dev/null
@@ -0,0 +1 @@
+./sadf -p tests/data.tmp -C -- -A > /dev/null
diff --git a/tests/0102 b/tests/0102
new file mode 100644 (file)
index 0000000..37858b0
--- /dev/null
@@ -0,0 +1 @@
+./sadf -d tests/data.tmp -C -- -A > /dev/null
diff --git a/tests/0103 b/tests/0103
new file mode 100644 (file)
index 0000000..afce788
--- /dev/null
@@ -0,0 +1 @@
+./sadf -x tests/data.tmp -C -- -A > /dev/null
diff --git a/tests/0104 b/tests/0104
new file mode 100644 (file)
index 0000000..899b073
--- /dev/null
@@ -0,0 +1 @@
+./sadf -j tests/data.tmp -C -- -A > /dev/null
diff --git a/tests/0105 b/tests/0105
new file mode 100644 (file)
index 0000000..15a5f73
--- /dev/null
@@ -0,0 +1 @@
+./sadf -g tests/data.tmp -C -- -A > /dev/null
diff --git a/tests/0106 b/tests/0106
new file mode 100644 (file)
index 0000000..42af792
--- /dev/null
@@ -0,0 +1 @@
+./sadf -H tests/data.tmp -C -- -A > /dev/null
similarity index 100%
rename from tests/010.old
rename to tests/0110
similarity index 100%
rename from tests/011.old
rename to tests/0120
similarity index 100%
rename from tests/012.old
rename to tests/0130
similarity index 100%
rename from tests/013.old
rename to tests/0140
diff --git a/tests/0150 b/tests/0150
new file mode 100644 (file)
index 0000000..67eef84
--- /dev/null
@@ -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 (file)
index 0000000..9365cc2
Binary files /dev/null and b/tests/data-ppc-11.7.2 differ