summaryrefslogtreecommitdiffstats
path: root/tools/checkmans.sh
Commit message (Collapse)AuthorAgeFilesLines
* tools: improve checkmansKarel Zak2018-03-011-6/+13
| | | | | | | | * ignore .git/ * don't print error messages when error counters are zero * add new KNOWN_REPEATS[] Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: portable usage of find commandRuediger Meier2016-02-181-1/+1
| | | | | | | | - use dot instead of skipping search-path - avoid -perm /a+x - avoid -path Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tools: stop checkmans.sh validating libtool buildsSami Kerola2015-08-071-1/+1
| | | | | | | | The checkmans.sh tried to validate shared libraries, such as ./.libs/libsmartcols.so.1, causing the check output to a have lot of pointless garbage. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tools: checkmans.sh add statsJ William Piggott2015-01-131-11/+22
| | | | | | | | Add test results statistics. Fix-up 'KNOWN_REPEATS'. Version bump. Signed-off-by: J William Piggott <elseifthen@gmx.com>
* tools: checkmans.sh clean up 'let'J William Piggott2015-01-131-10/+4Star
| | | | | | Clean up 'let' issues and loop iteration. Signed-off-by: J William Piggott <elseifthen@gmx.com>
* tools: checkman.sh portability lexgrogJ William Piggott2015-01-131-5/+21
| | | | | | | | | checkman.sh depends upon the man-db package: Add using grog when lexgrog not installed. /dev/null some troff noise. Signed-off-by: J William Piggott <elseifthen@gmx.com>
* tools: checkman.sh portabilityJ William Piggott2015-01-131-14/+12Star
| | | | | | | | | | | | | checkman.sh fails if 'git' or 'lib' are anywhere in the tested file's path: Change to using relative paths. Improve the 'find' command call. checkman.sh depends upon the man-db package: Remove all instants of the man command and use troff directly to improve portability. Signed-off-by: J William Piggott <elseifthen@gmx.com>
* tools: make checkmans.sh to find missing manualsSami Kerola2013-04-091-4/+40
| | | | | | | | Finding missing manuals is loosely based on ideas in man-page-day-1.sh, wrote by Peter Schiffer. CC: Peter Schiffer <pschiffe@redhat.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tools: add checks to manual page test scriptSami Kerola2013-04-091-24/+74
| | | | | | | | | | | | | | | This change includes - better way to detect manual page inclusion - man -k header test, which uses lexgrog - repeated word detection - static declaration to known repeated words Most of the changes are based on man-page-day-1.sh, that is in use at RedHat Quality Assurance, and wrote by Peter Schiffer. CC: Peter Schiffer <pschiffe@redhat.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* ddate: remove from util-linuxSami Kerola2012-10-151-1/+1
| | | | | | | | | | | See RedHat bug for reasons why the ddate is cleaned up. The reference is where to get the command in future. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=823156 References: https://github.com/bo0ts/ddate Acked-by: Petr Uzel <petr.uzel@suse.cz> Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add checkmans.shSami Kerola2012-06-021-0/+75
A script to find whether all manuals has proper groff syntax. Signed-off-by: Sami Kerola <kerolasa@iki.fi>