From: Tobias Oetiker Date: Thu, 18 Feb 2016 12:58:02 +0000 (+0100) Subject: make the vnames in the test a bit more interesting ... especially verify that having... X-Git-Tag: v1.6.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=622ca07586f3bdb317c4f54a826e3efe6d029d55;p=thirdparty%2Frrdtool-1.x.git make the vnames in the test a bit more interesting ... especially verify that having a - and numbers in the vname is fine --- diff --git a/tests/rpn1 b/tests/rpn1 index a7790952..f000e6a7 100755 --- a/tests/rpn1 +++ b/tests/rpn1 @@ -14,9 +14,9 @@ $RRDTOOL update $RRD 920808300:12420 920808600:12422 920808900:12423 report "update" $RRDTOOL graphv - \ --start 920804400 --end 920808000 \ - DEF:myspeed=$RRD:speed:AVERAGE \ - CDEF:nonans=myspeed,UN,0,myspeed,IF \ - CDEF:kmh=nonans,3600,* \ + DEF:my-speed=$RRD:speed:AVERAGE \ + CDEF:nonans01=my-speed,UN,0,my-speed,IF \ + CDEF:kmh=nonans01,3600,* \ CDEF:fast123456789012345678901234567890=kmh,100,GT,100,0,IF \ CDEF:over=kmh,100.000000000000000000000000000000000000,GT,kmh,100,-,0,IF \ CDEF:good=kmh,100,GT,0,kmh,IF \