summaryrefslogtreecommitdiff
path: root/ext/snmp
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2018-10-06 12:01:22 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-10-06 12:29:04 +0200
commit61330b0faf5dfbed79cba012744dabce9d20cc8f (patch)
treef60c66c5fdac11ae5b17278f79ad84094df67bd7 /ext/snmp
parente25b23ed0c3670bee4edb1d5e1360303c8ee483f (diff)
downloadphp-git-61330b0faf5dfbed79cba012744dabce9d20cc8f.tar.gz
Fix PHPT ENV sections
run-tests.php assumes the contents of an ENV section are a simple list of key-value-pairs, instead of evaluating the section contents as PHP script which server-tests.php did. Since server-tests.php is gone, we remove the superfluous and confusing scripting.
Diffstat (limited to 'ext/snmp')
-rw-r--r--ext/snmp/tests/snmp2_set-nomib.phpt2
-rw-r--r--ext/snmp/tests/snmpset-nomib.phpt2
2 files changed, 0 insertions, 4 deletions
diff --git a/ext/snmp/tests/snmp2_set-nomib.phpt b/ext/snmp/tests/snmp2_set-nomib.phpt
index af0baa3fdd..e1714d6ab9 100644
--- a/ext/snmp/tests/snmp2_set-nomib.phpt
+++ b/ext/snmp/tests/snmp2_set-nomib.phpt
@@ -7,9 +7,7 @@ Boris Lytockin
require_once(dirname(__FILE__).'/skipif.inc');
?>
--ENV--
-return <<<END
MIBS=
-END;
--FILE--
<?php
require_once(dirname(__FILE__).'/snmp_include.inc');
diff --git a/ext/snmp/tests/snmpset-nomib.phpt b/ext/snmp/tests/snmpset-nomib.phpt
index 7428e57c78..7b72bff979 100644
--- a/ext/snmp/tests/snmpset-nomib.phpt
+++ b/ext/snmp/tests/snmpset-nomib.phpt
@@ -7,9 +7,7 @@ Boris Lytochkin
require_once(dirname(__FILE__).'/skipif.inc');
?>
--ENV--
-return <<<END
MIBS=
-END;
--FILE--
<?php
require_once(dirname(__FILE__).'/snmp_include.inc');