From: Peter A. Bigot Date: Fri, 16 May 2014 16:11:42 +0000 (-0500) Subject: tests: add another rrdcreate scaled test X-Git-Tag: v1.5.0-rc1~97^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=991519be0e35016bfe91c63b50443796d930758f;p=thirdparty%2Frrdtool-1.x.git tests: add another rrdcreate scaled test --- diff --git a/tests/rrdcreate b/tests/rrdcreate index 723eaebd..cba8f6af 100755 --- a/tests/rrdcreate +++ b/tests/rrdcreate @@ -165,3 +165,26 @@ getinfo \ RRA:FAILURES:1d:7:9:5 \ > dur.out checkequiv "HWPREDICT equivalents" ct.out dur.out + +# FETCH test +getinfo \ + --start 0 --step 10s \ + DS:ds0:GAUGE:300:0:U \ + RRA:AVERAGE:0.5:30:3600 \ + RRA:AVERAGE:0.5:90:1200 \ + RRA:AVERAGE:0.5:360:1200 \ + RRA:MAX:0.5:360:1200 \ + RRA:AVERAGE:0.5:8640:600 \ + RRA:MAX:0.5:8640:600 \ +> ct.out +getinfo \ + --start 0 --step 10s \ + DS:ds0:GAUGE:5m:0:U \ + RRA:AVERAGE:0.5:5m:300h \ + RRA:AVERAGE:0.5:15m:300h \ + RRA:AVERAGE:0.5:1h:50d \ + RRA:MAX:0.5:1h:50d \ + RRA:AVERAGE:0.5:1d:600d \ + RRA:MAX:0.5:1d:600d \ +> dur.out +checkequiv "FETCH equivalents" ct.out dur.out