summaryrefslogtreecommitdiffstats
path: root/NPTest.pm
diff options
context:
space:
mode:
authorPeter Bray <illumino@users.sourceforge.net>2005-07-25 14:17:48 (GMT)
committerPeter Bray <illumino@users.sourceforge.net>2005-07-25 14:17:48 (GMT)
commit004ce6f5e23804c55d62ebbff73e57f02360763e (patch)
treeaf28fa336e01ff4bf6eb68435bb358d2ab7e35f3 /NPTest.pm
parentcdc06cc3e2c4670d3cd46b0a03adcf7e6958eff1 (diff)
downloadmonitoring-plugins-004ce6f5e23804c55d62ebbff73e57f02360763e.tar.gz
Change the environment variable NPTESTCACHE to NPTEST_CACHE for consistancy
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1208 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'NPTest.pm')
-rw-r--r--NPTest.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/NPTest.pm b/NPTest.pm
index f3c874b..201bc6a 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -202,8 +202,8 @@ my( %CACHE ) = ();
202 202
203# I'm not really sure wether to house a site-specific cache inside 203# I'm not really sure wether to house a site-specific cache inside
204# or outside of the extracted source / build tree - lets default to outside 204# or outside of the extracted source / build tree - lets default to outside
205my( $CACHEFILENAME ) = ( exists( $ENV{'NPTESTCACHE'} ) && $ENV{'NPTESTCACHE'} ) 205my( $CACHEFILENAME ) = ( exists( $ENV{'NPTEST_CACHE'} ) && $ENV{'NPTEST_CACHE'} )
206 ? $ENV{'NPTESTCACHE'} : "/var/tmp/NPTest.cache"; # "../Cache.pdd"; 206 ? $ENV{'NPTEST_CACHE'} : "/var/tmp/NPTest.cache"; # "../Cache.pdd";
207 207
208# 208#
209# Testing Functions 209# Testing Functions