]> granicus.if.org Git - sysstat/commitdiff
Update non regression tests
authorSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 18 Jan 2023 10:23:46 +0000 (11:23 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 18 Jan 2023 10:23:46 +0000 (11:23 +0100)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
tests/01965 [new file with mode: 0644]
tests/01970 [new file with mode: 0644]
tests/01972 [new file with mode: 0644]
tests/01973 [new file with mode: 0644]
tests/TLIST

diff --git a/tests/01965 b/tests/01965
new file mode 100644 (file)
index 0000000..3efbed4
--- /dev/null
@@ -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 (file)
index 0000000..a80a10e
--- /dev/null
@@ -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 (file)
index 0000000..982135d
--- /dev/null
@@ -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 (file)
index 0000000..47af871
--- /dev/null
@@ -0,0 +1 @@
+LC_ALL=C ./sadf -d -e fooba 2>&1 |grep "No such file" >/dev/null
index 5086eeb231aad659b2fbad07e1a284b7a2878db3..9dde679ed7f89c2ca32c22c2b4572f39ae5f1919 100644 (file)
@@ -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