diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2018-10-06 12:01:22 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-10-06 12:29:04 +0200 |
commit | 61330b0faf5dfbed79cba012744dabce9d20cc8f (patch) | |
tree | f60c66c5fdac11ae5b17278f79ad84094df67bd7 /ext/snmp | |
parent | e25b23ed0c3670bee4edb1d5e1360303c8ee483f (diff) | |
download | php-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.phpt | 2 | ||||
-rw-r--r-- | ext/snmp/tests/snmpset-nomib.phpt | 2 |
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'); |