From d7d90c403fdafa471637621c3f661fe3426faf3a Mon Sep 17 00:00:00 2001 From: Boris Lytochkin Date: Thu, 25 Aug 2011 06:00:11 +0000 Subject: [PATCH] tune test's README more per FR #55474 --- ext/snmp/tests/README | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.50.1