summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/logrotate/logrotate
diff options
context:
space:
mode:
authorFrank WOLFF <frank.wolff@smile.fr>2023-04-05 16:36:04 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-13 11:55:40 +0100
commit0bdfe34c016c8db1f18d76b59a38af280b4c70aa (patch)
treef9d037b34de96c92db3f46021de04bd778b49279 /meta/recipes-extended/logrotate/logrotate
parentc589c87a8caef0afbc731c219fe713ba970a2055 (diff)
downloadopenembedded-core-0bdfe34c016c8db1f18d76b59a38af280b4c70aa.tar.gz
logrotate: add ptest support
Below is an extract of the test log: root@qemux86-64:~# ptest-runner START: ptest-runner 2023-04-05T12:20 BEGIN: /usr/lib/logrotate/ptest make check-TESTS make[1]: Entering directory '/usr/lib/logrotate/ptest' make[2]: Entering directory '/usr/lib/logrotate/ptest' PASS: test-0001.sh PASS: test-0002.sh ... ... PASS: test-0107.sh PASS: test-0108.sh ============================================================================ Testsuite summary for logrotate 3.21.0 ============================================================================ # TOTAL: 102 # PASS: 97 # SKIP: 5 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[2]: Leaving directory '/usr/lib/logrotate/ptest' make[1]: Leaving directory '/usr/lib/logrotate/ptest' DURATION: 353 END: /usr/lib/logrotate/ptest 2023-04-05T12:26 STOP: ptest-runner TOTAL: 1 FAIL: 0 Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr> Signed-off-by: Frank WOLFF <frank.wolff@smile.fr> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'meta/recipes-extended/logrotate/logrotate')
-rwxr-xr-xmeta/recipes-extended/logrotate/logrotate/run-ptest5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate/run-ptest b/meta/recipes-extended/logrotate/logrotate/run-ptest
new file mode 100755
index 0000000000..b272def65f
--- /dev/null
+++ b/meta/recipes-extended/logrotate/logrotate/run-ptest
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -u
+
+make -k check