From: Christopher Jones Date: Fri, 5 Aug 2011 22:18:50 +0000 (+0000) Subject: Improve test portabilty X-Git-Tag: php-5.3.7RC5~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae1baaa59298ca1ed37c4cfc6d60de72d6495ddd;p=php Improve test portabilty --- diff --git a/ext/oci8/tests/bug37220.phpt b/ext/oci8/tests/bug37220.phpt index 8d59644b8e..fd91dc73d6 100644 --- a/ext/oci8/tests/bug37220.phpt +++ b/ext/oci8/tests/bug37220.phpt @@ -43,7 +43,7 @@ oci_execute($stmt); while ($row = oci_fetch_array($stmt, OCI_ASSOC+OCI_RETURN_NULLS)) { foreach ($row as $item) { - echo $item."\n"; + echo trim($item)."\n"; } echo "\n"; } diff --git a/ext/oci8/tests/xmltype_02.phpt b/ext/oci8/tests/xmltype_02.phpt index 5ac294102e..28e9401baf 100644 --- a/ext/oci8/tests/xmltype_02.phpt +++ b/ext/oci8/tests/xmltype_02.phpt @@ -164,18 +164,18 @@ object(SimpleXMLElement)#%d (10) { string(2) "10" } Test 3: Update changes using a temporary CLOB -string(331) " +string(%d) " -1 -Southlake, Texas -Owned -25000 -1 -Rear load -true -N -Street -10 +%sWarehouseId>1 +%sWarehouseName>Southlake, Texas +%sBuilding>Owned +%sArea>25000 +%sDocks>1 +%sDockType>Rear load +%sWaterAccess>true +%sRailAccess>N +%sParking>Street +%sVClearance>10 " ===DONE=== \ No newline at end of file