From 5febe778b6be5bd666d564021de1dd1491c65320 Mon Sep 17 00:00:00 2001 From: Peter Stamfest Date: Thu, 21 Aug 2014 12:15:34 +0200 Subject: [PATCH] Fix rpn1 test to properly report problems --- tests/rpn1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/rpn1 b/tests/rpn1 index 82165bd5..23137659 100755 --- a/tests/rpn1 +++ b/tests/rpn1 @@ -4,14 +4,14 @@ RRD=rpn1.rrd -report "create" $RRDTOOL create $RRD --start 920804400 DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10 -report "update" +report "create" $RRDTOOL update $RRD 920804700:12345 920805000:12357 920805300:12363 $RRDTOOL update $RRD 920805600:12363 920805900:12363 920806200:12373 $RRDTOOL update $RRD 920806500:12383 920806800:12393 920807100:12399 $RRDTOOL update $RRD 920807400:12405 920807700:12411 920808000:12415 $RRDTOOL update $RRD 920808300:12420 920808600:12422 920808900:12423 +report "update" $RRDTOOL graphv - \ --start 920804400 --end 920808000 \ DEF:myspeed=$RRD:speed:AVERAGE \ @@ -26,3 +26,4 @@ $RRDTOOL graphv - \ PRINT:f:'%lf' \ PRINT:g:'%lf' \ PRINT:o:'%lf' | $DIFF - $BASEDIR/rpn1.output +report "graphv" -- 2.47.2