aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sven Nierlein <Sven.Nierlein@consol.de> 2013-09-12 13:57:57 +0200
committerGravatar Sven Nierlein <sven@consol.de> 2013-09-12 23:39:31 +0200
commit38ef9b60a08c7b831986280a26ded58215f343bb (patch)
treee66bc687a2c5311bb04a0ae1157591d8b076b6d5
parent07f9a0f6274331ab6e45ac36ac1fe60d120dd2fb (diff)
downloadmonitoring-plugins-38ef9b60a08c7b831986280a26ded58215f343bb.tar.gz
tests: sort cached settings before save
-rw-r--r--NPTest.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/NPTest.pm b/NPTest.pm
index a2cad192..c0897d8a 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -460,6 +460,7 @@ sub SaveCache
my( $dataDumper ) = new Data::Dumper( [ \%CACHE ] );
$dataDumper->Terse(1);
+ $dataDumper->Sortkeys(1);
print $fileHandle $dataDumper->Dump();