aboutsummaryrefslogtreecommitdiff
path: root/NPTest.pm
AgeCommit message (Collapse)Author
2014-06-13tests: fping checks require being root or setuid rootGravatar Sven Nierlein
on the fping binary. Check this before running the test. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-06-12tests: testCmd has own timeout which overwrites local oneGravatar Sven Nierlein
so add configurable/optional timeout to testCmd. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-01-31Enable tests in tests/ subdirsGravatar Thomas Guyot-Sionnest
2014-01-26Fix tests with an empty NPTest.cache fileGravatar Thomas Guyot-Sionnest
The NPTest.cache cannot be loaded when empty, and this prevents getting the data and populating the file. This patch skips the file when empty as if it didn't exist.
2014-01-20Fix NPTest.pm not asking for unconfigured variablesGravatar Thomas Guyot-Sionnest
It appeats STDERR isn't a tty anymore during tests, but since we type from tty to STDIN it should be bound to our tty (and works for me).
2014-01-19Project rename initial commit.Gravatar Monitoring Plugins Development Team
This is an initial take at renaming the project to Monitoring Plugins. It's not expected to be fully complete, and it is expected to break things (The perl module for instance). More testing will be required before this goes mainline.
2013-09-18tests: only write cache file if it changedGravatar Sven Nierlein
Tests sometimes fila when running multiple parallel tests using the same cache file because it is written everytime a test parameter is read. Since there is no locking, this might fail from time to time.
2013-09-16tests: don't skip utils testGravatar Sven Nierlein
2013-09-14tests: move ipv6 detection into NPTest moduleGravatar Sven Nierlein
2013-09-13NPTest: ensure all systems use same amount of whitespaceGravatar Sven Nierlein
2013-09-12tests: sort cached settings before saveGravatar Sven Nierlein
2013-09-12tests: make sure tests don't hangGravatar Sven Nierlein
2009-06-16Switch back to "use Test" and plain prints instead of diag()Gravatar Matthias Eble
2009-06-16Tinderbox output testing commitGravatar Matthias Eble
2009-06-15Make output of "make test" more verboseGravatar Matthias Eble
This is intended to make error fixing based on tinderbox output easier.
2008-11-23Removing CVS/SVN tags and replacing with git-based versioningGravatar Thomas Guyot-Sionnest
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-21- Fixing small error (wrong file name) in NPTest.pm documentation.Gravatar Thomas Guyot-Sionnest
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1556 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-26New test variables default to "none", so no changes required to tinderbox ↵Gravatar Ton Voon
satelites git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1530 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-12Fixed output from -e in check_disk (Andreas Behal)Gravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1490 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-29Will die if signal received from a testCmdGravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1364 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-23check_disk now errors if a specified directory does not exist (cf df /foo)Gravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1351 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-23Incorrect output when checking non-existent disk (John Rouillard - 1326050)Gravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1349 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-31Sort ordering of testsGravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1310 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-19Break out of testing if a new parameter is requiredGravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1301 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-15Display errors with slave queries correctly. Added extra tests for slavesGravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1299 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-15New 3 parameter version of getTestParameters. Updated check_disk.t to reflect.Gravatar Ton Voon
Added notes re: testing in developer guidelines. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1298 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-09Added new NPTest->testCmd which returns objects back for testingGravatar Ton Voon
at the test script level. Updated check_swap and check_imap to this new format git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1279 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-03Fixing some test failuresGravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1270 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-25Change the environment variable NPTESTCACHE to NPTEST_CACHE for consistancyGravatar Peter Bray
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1208 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-25[1185704] New Testing Infrastructure.Gravatar Peter Bray
Complete rewrite of the original testing infrastructure and all test cases (to use the new infrastructure) See NPTest.pm and issue 1185704 for more details. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1207 f882894a-f735-0410-b71e-b25c423dba1c