summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Nierlein <Sven.Nierlein@consol.de>2013-09-12 13:57:57 +0200
committerSven 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
460 my( $dataDumper ) = new Data::Dumper( [ \%CACHE ] ); 460 my( $dataDumper ) = new Data::Dumper( [ \%CACHE ] );
461 461
462 $dataDumper->Terse(1); 462 $dataDumper->Terse(1);
463 $dataDumper->Sortkeys(1);
463 464
464 print $fileHandle $dataDumper->Dump(); 465 print $fileHandle $dataDumper->Dump();
465 466