summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fb59d10)
raw | patch | inline | side by side (parent: fb59d10)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Fri, 8 Nov 2002 07:17:59 +0000 (07:17 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Fri, 8 Nov 2002 07:17:59 +0000 (07:17 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@172 f882894a-f735-0410-b71e-b25c423dba1c
tools/oneliners | [new file with mode: 0644] | patch | blob |
diff --git a/tools/oneliners b/tools/oneliners
--- /dev/null
+++ b/tools/oneliners
@@ -0,0 +1,6 @@
+perl -ne '(m/AC_DEFINE(_UNQUOTED)?\(([^,]+)/) && print "$2\n";' configure.in | sort | uniq > DEFS
+perl -ne '(m/^.undef (.*)$/) && print "$1\n";' plugins/config.h.in | sort | uniq | diff - DEFS | grep '>'
+for f in plugins/check_*; do if test -x $f ; then ./$f --help > /dev/null; if [ $? -gt 0 ]; then echo $f failed; fi; fi; done
+for f in plugins/check_*; do if test -x $f ; then ./$f --version > /dev/null; if [ $? -gt 0 ]; then echo $f failed; fi; fi; done
+for f in check_*; do if test -x $f ; then ./$f --help > /dev/null; if [ $? -gt 0 ]; then echo $f failed; fi; fi; done
+for f in check_*; do if test -x $f ; then ./$f --version > /dev/null; if [ $? -gt 0 ]; then echo $f failed; fi; fi; done