File: rrd_009.phpt

package info (click to toggle)
php-rrd 2.0.3%2B1.1.3-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 496 kB
  • sloc: ansic: 2,447; xml: 665; makefile: 58; php: 3
file content (13 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
rrd_error test
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
rrd_create(dirname(__FILE__) . "/rrd_create_test.rrd", array("badParam"));
var_dump(rrd_error());
var_dump(rrd_error());
?>
--EXPECTF--
string(31) "can't parse argument 'badParam'"
bool(false)