]> granicus.if.org Git - sysstat/commitdiff
Add new non regression tests
authorSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 31 Jan 2023 17:15:00 +0000 (18:15 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 31 Jan 2023 17:15:00 +0000 (18:15 +0100)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
tests/00030 [new file with mode: 0644]
tests/08900 [new file with mode: 0644]
tests/TLIST

diff --git a/tests/00030 b/tests/00030
new file mode 100644 (file)
index 0000000..8fcb622
--- /dev/null
@@ -0,0 +1 @@
+[ -x ./iconfig ] || exit 1
diff --git a/tests/08900 b/tests/08900
new file mode 100644 (file)
index 0000000..5453c0f
--- /dev/null
@@ -0,0 +1,4 @@
+cat tests/TLIST | grep ^0 | awk '{print $1}' > tests/out.list1.tmp
+(cd tests && ls -1 0* > out.list2.tmp)
+diff -u tests/out.list2.tmp tests/out.list1.tmp
+
index 74c8be48292aa6ac6b1ad50ed0a1091e7aa28786..ce8d9037d15b713cab56a265f10af3fbaca5801a 100644 (file)
@@ -14,6 +14,7 @@ NOTES:
 00015  ./pidstat -V >/dev/null
 00016  ./tapestat -V >/dev/null
 00017  ./cifsiostat -V >/dev/null
+00030  [ -x ./iconfig ] || exit 1
 
 =====  Files creation
 -----  Create data-new.tmp [.....RC / 1234511]
@@ -565,4 +566,6 @@ NOTES:
 05452  LC_ALL=C TZ=GMT ./pidstat -e sleep 2 > tests/out2.pidstat-e.tmp
 
 =====  Tests to be done at the very end
+08900  cat tests/TLIST | grep ^0 | awk '{print $1}' > tests/out.list1.tmp
+       (cd tests && ls -1 0* > out.list2.tmp)
 09900  grep -i FIXME *.c *.h *.in && exit 1 || exit 0