summaryrefslogtreecommitdiffstats
path: root/NPTest.pm
AgeCommit message (Collapse)AuthorFilesLines
2014-01-31Enable tests in tests/ subdirsThomas Guyot-Sionnest1-12/+21
2014-01-26Fix tests with an empty NPTest.cache fileThomas Guyot-Sionnest1-1/+1
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 variablesThomas Guyot-Sionnest1-1/+1
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.Monitoring Plugins Development Team1-7/+7
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 changedSven Nierlein1-17/+19
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 testSven Nierlein1-6/+6
2013-09-14tests: move ipv6 detection into NPTest moduleSven Nierlein1-0/+10
2013-09-13NPTest: ensure all systems use same amount of whitespaceSven Nierlein1-1/+4
2013-09-12tests: sort cached settings before saveSven Nierlein1-0/+1
2013-09-12tests: make sure tests don't hangSven Nierlein1-1/+6
2009-06-16Switch back to "use Test" and plain prints instead of diag()Matthias Eble1-4/+4
2009-06-16Tinderbox output testing commitMatthias Eble1-1/+1
2009-06-15Make output of "make test" more verboseMatthias Eble1-6/+6
This is intended to make error fixing based on tinderbox output easier.
2008-11-23Removing CVS/SVN tags and replacing with git-based versioningThomas Guyot-Sionnest1-1/+1
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.Thomas Guyot-Sionnest1-4/+4
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 ↵Ton Voon1-3/+4
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)Ton Voon1-0/+7
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 testCmdTon Voon1-2/+5
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)Ton Voon1-2/+2
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)Ton Voon1-0/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1349 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-31Sort ordering of testsTon Voon1-1/+1
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 requiredTon Voon1-0/+6
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 slavesTon Voon1-1/+3
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.Ton Voon1-20/+33
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 testingTon Voon1-12/+60
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 failuresTon Voon1-2/+3
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 consistancyPeter Bray1-2/+2
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.Peter Bray1-0/+554
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