From: Peter Stamfest Date: Thu, 21 Aug 2014 10:15:34 +0000 (+0200) Subject: Fix rpn1 test to properly report problems X-Git-Tag: v1.5.0-rc1~45^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F533%2Fhead;p=thirdparty%2Frrdtool-1.x.git Fix rpn1 test to properly report problems --- 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"