summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Nierlein <Sven.Nierlein@consol.de>2013-09-12 11:57:57 (GMT)
committerSven Nierlein <sven@consol.de>2013-09-12 21:39:31 (GMT)
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 a2cad19..c0897d8 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