diff options
author | Derick Rethans <derick@php.net> | 2002-03-05 09:02:02 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2002-03-05 09:02:02 +0000 |
commit | eeeb95595f1fbc82db1d934673412ff446b48012 (patch) | |
tree | 0398f8b56542fbe957f1b1a51f231e296cdaf554 /ext/xml | |
parent | 39225a22b8dacd35f793127d58dc7992ecfc9bb1 (diff) | |
download | php-git-eeeb95595f1fbc82db1d934673412ff446b48012.tar.gz |
- More test fixes
Diffstat (limited to 'ext/xml')
-rw-r--r-- | ext/xml/tests/001.phpt | 2 | ||||
-rw-r--r-- | ext/xml/tests/002.phpt | 1 | ||||
-rw-r--r-- | ext/xml/tests/003.phpt | 1 | ||||
-rw-r--r-- | ext/xml/tests/004.phpt | 2 |
4 files changed, 5 insertions, 1 deletions
diff --git a/ext/xml/tests/001.phpt b/ext/xml/tests/001.phpt index ac19312ebf..156be8cc66 100644 --- a/ext/xml/tests/001.phpt +++ b/ext/xml/tests/001.phpt @@ -4,7 +4,7 @@ XML parser test, function callbacks <?php include("skipif.inc"); ?> --FILE-- <?php - +chdir(dirname(__FILE__)); $xml_parser = xml_parser_create(); xml_parser_set_option($xml_parser, XML_OPTION_CASE_FOLDING, 1); diff --git a/ext/xml/tests/002.phpt b/ext/xml/tests/002.phpt index 017fe19db6..3d1ac4cec9 100644 --- a/ext/xml/tests/002.phpt +++ b/ext/xml/tests/002.phpt @@ -4,6 +4,7 @@ XML parser test, object tuple callbacks <?php include("skipif.inc"); ?> --FILE-- <?php +chdir(dirname(__FILE__)); $xml_parser = xml_parser_create(); $obj = new myclass; diff --git a/ext/xml/tests/003.phpt b/ext/xml/tests/003.phpt index acb9fc3394..9dab6b5ddc 100644 --- a/ext/xml/tests/003.phpt +++ b/ext/xml/tests/003.phpt @@ -4,6 +4,7 @@ XML parser test, xml_set_object callbacks <?php include("skipif.inc"); ?> --FILE-- <?php +chdir(dirname(__FILE__)); $xml_parser = xml_parser_create(); $obj = new myclass; diff --git a/ext/xml/tests/004.phpt b/ext/xml/tests/004.phpt index 5788fcac37..564c197939 100644 --- a/ext/xml/tests/004.phpt +++ b/ext/xml/tests/004.phpt @@ -4,6 +4,8 @@ XML parser case folding test <?php include("skipif.inc"); ?> --FILE-- <?php +chdir(dirname(__FILE__)); + $xp = xml_parser_create(); xml_parser_set_option($xp, XML_OPTION_CASE_FOLDING, false); xml_set_element_handler($xp, "start_element", "end_element"); |