From: Ulf Wendel Date: Thu, 12 Jul 2007 14:22:47 +0000 (+0000) Subject: Checking the phpinfo() entries of ext/mysql X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9744d3f9a31c90d40f7eed14f9c1a12ebd982abe;p=php Checking the phpinfo() entries of ext/mysql --- diff --git a/ext/mysql/tests/mysql_phpinfo.phpt b/ext/mysql/tests/mysql_phpinfo.phpt new file mode 100644 index 0000000000..81b24ce945 --- /dev/null +++ b/ext/mysql/tests/mysql_phpinfo.phpt @@ -0,0 +1,73 @@ +--TEST-- +phpinfo() mysql section +--SKIPIF-- + +--FILE-- + $entry) + if (!stristr($phpinfo, $entry)) + printf("[012] Could not find entry for '%s'\n", $entry); +} + +print "done!"; +?> +--EXPECTF-- +done! \ No newline at end of file