From: Boris Lytochkin Date: Thu, 25 Aug 2011 06:00:11 +0000 (+0000) Subject: tune test's README more per FR #55474 X-Git-Tag: php-5.4.0beta1~374 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7d90c403fdafa471637621c3f661fe3426faf3a;p=php tune test's README more per FR #55474 --- diff --git a/ext/snmp/tests/README b/ext/snmp/tests/README index a2cb794913..819a50d8a2 100644 --- a/ext/snmp/tests/README +++ b/ext/snmp/tests/README @@ -16,6 +16,13 @@ SNMP_COMMUNITY : community name SNMP_COMMUNITY_WRITE : community used for write tests (snmpset()). SNMP_MIBDIR : Directory containing MIBS +To run test suite you may use this command (presuming that you pwd is where +this README file is located): +> make -C ../../.. test TESTS="`cd ../../..; /bin/ls -1 ext/snmp/tests/*.phpt | xargs echo`" +Running run-tests.php directly will clear your environment and therefore +tests will fail if your SNMP configuration does not fit into default values +specified in snmp_include.inc. + ** Configuring the SNMPD server ** On Linux/FreeBSD