Skip to content

Commit

Permalink
MFH: Specify full path for the cat utility for mbstring e-mail tests.
Browse files Browse the repository at this point in the history
MFH: Previously made fixes to tests that address bug #25635
  • Loading branch information
Ilia Alshanetsky committed Sep 24, 2003
1 parent ccc0fb6 commit ee3c851
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 24 deletions.
3 changes: 1 addition & 2 deletions ext/bz2/tests/with_strings.phpt
Expand Up @@ -22,8 +22,7 @@ $blaat2 = bzdecompress(bzcompress($blaat));
$tests = <<<TESTS
\$blaat === \$blaat2
TESTS;

include('tests/quicktester.inc');
include(dirname(__FILE__) . '/../../../tests/quicktester.inc');

--EXPECT--
OK
2 changes: 1 addition & 1 deletion ext/mbstring/tests/mb_send_mail01.phpt
Expand Up @@ -7,7 +7,7 @@ if (@mb_send_mail() === false || !mb_language("neutral")) {
}
?>
--INI--
sendmail_path=cat
sendmail_path=/usr/cat
--FILE--
<?php
$to = 'example@example.com';
Expand Down
2 changes: 1 addition & 1 deletion ext/mbstring/tests/mb_send_mail02.phpt
Expand Up @@ -7,7 +7,7 @@ if (@mb_send_mail() === false || !mb_language("japanese")) {
}
?>
--INI--
sendmail_path=cat
sendmail_path=/bin/cat
--FILE--
<?php
$to = 'example@example.com';
Expand Down
2 changes: 1 addition & 1 deletion ext/mbstring/tests/mb_send_mail03.phpt
Expand Up @@ -7,7 +7,7 @@ if (@mb_send_mail() === false || !mb_language("english")) {
}
?>
--INI--
sendmail_path=cat
sendmail_path=/bin/cat
--FILE--
<?php
$to = 'example@example.com';
Expand Down
2 changes: 1 addition & 1 deletion ext/mbstring/tests/mb_send_mail04.phpt
Expand Up @@ -7,7 +7,7 @@ if (@mb_send_mail() === false || !mb_language("german")) {
}
?>
--INI--
sendmail_path=cat
sendmail_path=/bin/cat
--FILE--
<?php
$to = 'example@example.com';
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/aggregation/aggregate.phpt
Expand Up @@ -3,7 +3,7 @@ aggregating everything
--FILE--
<?php

include "ext/standard/tests/aggregation/aggregate.lib";
include dirname(__FILE__) . "/aggregate.lib";

$obj = new simple();
aggregate($obj, 'helper');
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/aggregation/aggregate_methods.phpt
Expand Up @@ -4,7 +4,7 @@ aggregating all methods
--GET--
--FILE--
<?php
include "ext/standard/tests/aggregation/aggregate.lib";
include dirname(__FILE__) . "/aggregate.lib";

$obj = new simple();
aggregate_methods($obj, 'mixin');
Expand Down
Expand Up @@ -4,7 +4,7 @@ aggregating methods specified in the list
--GET--
--FILE--
<?php
include "ext/standard/tests/aggregation/aggregate.lib";
include dirname(__FILE__) . "/aggregate.lib";

$obj = new simple();
aggregate_methods_by_list($obj, 'helper', array('just_another_method'));
Expand Down
Expand Up @@ -6,7 +6,7 @@ aggregating methods matching regular expression
--GET--
--FILE--
<?php
include "ext/standard/tests/aggregation/aggregate.lib";
include dirname(__FILE__) . "/aggregate.lib";

$obj = new simple();
aggregate_methods_by_regexp($obj, 'helper', '/^do/');
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/aggregation/aggregate_properties.phpt
Expand Up @@ -4,7 +4,7 @@ aggregating all default properties
--GET--
--FILE--
<?php
include "ext/standard/tests/aggregation/aggregate.lib";
include dirname(__FILE__) . "/aggregate.lib";

$obj = new simple();
aggregate_properties($obj, 'mixin');
Expand Down
Expand Up @@ -4,7 +4,7 @@ aggregating default properties specified in the list
--GET--
--FILE--
<?php
include "ext/standard/tests/aggregation/aggregate.lib";
include dirname(__FILE__) . "/aggregate.lib";

$obj = new simple();
aggregate_properties_by_list($obj, 'helper', array('my_prop', 'our_prop'));
Expand Down
Expand Up @@ -6,7 +6,7 @@ aggregating default properties matching regular expression
--GET--
--FILE--
<?php
include "ext/standard/tests/aggregation/aggregate.lib";
include dirname(__FILE__) . "/aggregate.lib";

$obj = new simple();
aggregate_properties_by_regexp($obj, 'helper', '/^my/');
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/aggregation/aggregation_info.phpt
Expand Up @@ -4,7 +4,7 @@ retrieving aggregation info
--GET--
--FILE--
<?php
include "ext/standard/tests/aggregation/aggregate.lib";
include dirname(__FILE__) . "/aggregate.lib";

$obj = new simple();
aggregate($obj, 'mixin');
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/aggregation/deaggregate.phpt
Expand Up @@ -4,7 +4,7 @@ deaggreating
--GET--
--FILE--
<?php
include "ext/standard/tests/aggregation/aggregate.lib";
include dirname(__FILE__) . "/aggregate.lib";

$obj = new simple();
aggregate($obj, 'helper');
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/array/001.phpt
Expand Up @@ -6,7 +6,7 @@ Test array_merge and array_walk
precision=14
--FILE--
<?php
require('ext/standard/tests/array/data.inc');
require(dirname(__FILE__) . '/data.inc');
/*
** Create sample arrays
** Test alpha, numeric (decimal, hex, octal) and special data
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/array/002.phpt
Expand Up @@ -4,7 +4,7 @@ Test arsort, asort, krsort, ksort, rsort, and sort
precision=14
--FILE--
<?php
require('ext/standard/tests/array/data.inc');
require(dirname(__FILE__) . '/data.inc');

function test_sort ($sort_function, $data) {
echo "\n -- Testing $sort_function() -- \n";
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/array/003.phpt
Expand Up @@ -4,7 +4,7 @@ Test usort, uksort and uasort
precision=14
--FILE--
<?php
require('ext/standard/tests/array/data.inc');
require(dirname(__FILE__) . '/data.inc');

function cmp ($a, $b) {
is_array ($a)
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/array/array_search.phpt
Expand Up @@ -17,7 +17,7 @@ TRUE === in_array('a', \$arr1)
'key'=== array_search('d', \$arr4)
TESTS;

include('tests/quicktester.inc');
include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');

--EXPECT--
OK
2 changes: 1 addition & 1 deletion ext/standard/tests/math/abs.phpt
Expand Up @@ -20,7 +20,7 @@ $tests = <<<TESTS
-(LONG_MIN+1) === abs(LONG_MIN+1)
TESTS;

include('tests/quicktester.inc');
include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');
--EXPECT--
1,1,0,0
OK
2 changes: 1 addition & 1 deletion ext/standard/tests/math/pow.phpt
Expand Up @@ -143,7 +143,7 @@ LONG_MIN*LONG_MIN ~== pow(LONG_MIN,2.0)
TESTS;

echo "On failure, please mail result to php-dev@lists.php.net\n";
include('tests/quicktester.inc');
include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');

--EXPECT--
1,1,0,0
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/math/round.phpt
Expand Up @@ -33,7 +33,7 @@ $tests = <<<TESTS
LONG_MAX ~== floor(LONG_MAX + 0.5)
TESTS;

include('tests/quicktester.inc');
include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');
--EXPECT--
1,1,0,0
OK
2 changes: 1 addition & 1 deletion ext/standard/tests/strings/trim.phpt
Expand Up @@ -23,7 +23,7 @@ $tests = <<<TESTS
"ABC" === trim("ABC\\x50\\xC1\\x60\\x90","\\x50..\\xC1")
TESTS;

include('tests/quicktester.inc');
include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');

--EXPECT--
OK
2 changes: 1 addition & 1 deletion ext/standard/tests/strings/wordwrap.phpt
Expand Up @@ -31,7 +31,7 @@ $tests = <<<TESTS
TESTS;

include('tests/quicktester.inc');
include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');

--EXPECT--
OK

0 comments on commit ee3c851

Please sign in to comment.