From 2fe0dbfa28af4922cc6681ff4271a031cd7c8887 Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Tue, 31 Jan 2023 18:15:00 +0100 Subject: [PATCH] Add new non regression tests Signed-off-by: Sebastien GODARD --- tests/00030 | 1 + tests/08900 | 4 ++++ tests/TLIST | 3 +++ 3 files changed, 8 insertions(+) create mode 100644 tests/00030 create mode 100644 tests/08900 diff --git a/tests/00030 b/tests/00030 new file mode 100644 index 0000000..8fcb622 --- /dev/null +++ b/tests/00030 @@ -0,0 +1 @@ +[ -x ./iconfig ] || exit 1 diff --git a/tests/08900 b/tests/08900 new file mode 100644 index 0000000..5453c0f --- /dev/null +++ b/tests/08900 @@ -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 + diff --git a/tests/TLIST b/tests/TLIST index 74c8be4..ce8d903 100644 --- a/tests/TLIST +++ b/tests/TLIST @@ -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 -- 2.40.0