From 5a351d79aa8dd88cd5faea9efe9a7c9d2049c3ca Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Wed, 18 Jan 2023 11:23:46 +0100 Subject: [PATCH] Update non regression tests Signed-off-by: Sebastien GODARD --- tests/01965 | 1 + tests/01970 | 1 + tests/01972 | 1 + tests/01973 | 1 + tests/TLIST | 4 ++++ 5 files changed, 8 insertions(+) create mode 100644 tests/01965 create mode 100644 tests/01970 create mode 100644 tests/01972 create mode 100644 tests/01973 diff --git a/tests/01965 b/tests/01965 new file mode 100644 index 0000000..3efbed4 --- /dev/null +++ b/tests/01965 @@ -0,0 +1 @@ +LC_ALL=C ./sadf -d tests/data.tmp -s fo:ob:ar 2>&1 |grep "Usage:" >/dev/null diff --git a/tests/01970 b/tests/01970 new file mode 100644 index 0000000..a80a10e --- /dev/null +++ b/tests/01970 @@ -0,0 +1 @@ +LC_ALL=C ./sadf -d -e foXobXar 2>&1 |grep "No such file" >/dev/null diff --git a/tests/01972 b/tests/01972 new file mode 100644 index 0000000..982135d --- /dev/null +++ b/tests/01972 @@ -0,0 +1 @@ +LC_ALL=C ./sadf -d tests/data.tmp -s fo:ob 2>&1 |grep "Usage:" >/dev/null diff --git a/tests/01973 b/tests/01973 new file mode 100644 index 0000000..47af871 --- /dev/null +++ b/tests/01973 @@ -0,0 +1 @@ +LC_ALL=C ./sadf -d -e fooba 2>&1 |grep "No such file" >/dev/null diff --git a/tests/TLIST b/tests/TLIST index 5086eeb..9dde679 100644 --- a/tests/TLIST +++ b/tests/TLIST @@ -346,6 +346,10 @@ NOTES: 01955 LC_ALL=C ./sadf -d tests/data.tmp -s 1590939000 > tests/out.sadf-s-epoch.tmp 01957 LC_ALL=C TZ="Europe/Paris" ./sadf -d tests/data.tmp -T -s 1590933000 > tests/out.sadf-T-s-epoch.tmp 01960 LC_ALL=C ./sadf -d tests/data.tmp -U -s 1555593629 -e 1555594649 > tests/out.sadf-U-se-epoch.tmp +01965 LC_ALL=C ./sadf -d tests/data.tmp -s fo:ob:ar 2>&1 |grep "Usage:" >/dev/null +01970 LC_ALL=C ./sadf -d -e foXobXar 2>&1 |grep "No such file" >/dev/null +01972 LC_ALL=C ./sadf -d tests/data.tmp -s fo:ob 2>&1 |grep "Usage:" >/dev/null +01973 LC_ALL=C ./sadf -d -e fooba 2>&1 |grep "No such file" >/dev/null ===== iostat tests (basic output) 02010 LC_ALL=C TZ=GMT ./iostat 2 3 > tests/out.iostat.tmp -- 2.40.0