Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 25 of 62) sorted by relevance

123

/php-src/sapi/cli/tests/
H A Dbug64529.phpt13 exec('which expect', $output, $ret);
15 die("skip no expect installed");
20 $expect_executable = trim(`which expect`);
22 $script = __DIR__ . "/expect.sh";
31 expect "php >"
36 expect eof
49 expect "Interactive mode enabled"
54 expect eof
/php-src/ext/pgsql/tests/
H A D08escape.phpt17 $expect = "ABC\\\\ABC\\'";
27 var_dump($expect);
32 $expect = "ABC\\\\\\\\ABC";
34 if ($expect === $after) {
41 var_dump($expect);
78 $expect = " E'ABC\\\\ABC\\\\'''";
80 if ($expect === $after) {
87 var_dump($expect);
91 $expect = "\"ABC\ABC\'\"";
93 if ($expect === $after) {
[all …]
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_fetch_both.phpt15 function fetch($offset, &$db, $query, $expect = null) {
33 if (!is_null($expect) && ($expect != $both)) {
35 var_dump($expect);
/php-src/tests/lang/
H A Dengine_assignExecutionOrder_002.phpt34 // expect 30,30
50 // list of lists with just variable assignments - expect 100,200,300
57 // expect $x and $y to be null - this fails on php.net 5.2.1 (invalid opcode) - fixed in 5.2.3
62 // list of lists with blanks and nulls expect 10 20 40 50 60 70 80
72 // expect y and z to be undefined
76 // expect h to be defined and be 10
80 // expect cc and dd to be 10 and 30
84 // expect the inner array to be defined
/php-src/ext/pdo_odbc/tests/
H A Dautocommit_change_mode.phpt44 echo "auto commit ON from ON, expect error\n";
52 echo "auto commit OFF from ON, expect error\n";
70 echo "auto commit ON from OFF, expect error\n";
78 echo "auto commit OFF from OFF, expect error\n";
113 auto commit ON from ON, expect error
117 auto commit OFF from ON, expect error
125 auto commit ON from OFF, expect error
129 auto commit OFF from OFF, expect error
H A Dmax_columns.phpt37 $expect = str_repeat('i', $row[0]);
38 if (strcmp($expect, $row[1])) {
40 printf("Expected %d bytes, got %d\n", strlen($expect), strlen($row['data']));
41 echo bin2hex($expect) . "\n";
/php-src/ext/pdo_firebird/tests/
H A Dautocommit_change_mode.phpt44 echo "auto commit ON from ON, expect error\n";
52 echo "auto commit OFF from ON, expect error\n";
70 echo "auto commit ON from OFF, expect error\n";
78 echo "auto commit OFF from OFF, expect error\n";
113 auto commit ON from ON, expect error
117 auto commit OFF from ON, expect error
125 auto commit ON from OFF, expect error
129 auto commit OFF from OFF, expect error
H A Dautocommit.phpt38 echo "insert, expect error\n";
45 echo "select, expect error\n";
76 insert, expect error
79 select, expect error
/php-src/ext/pdo_dblib/tests/
H A Dtimeout.phpt27 // expect some kind of error code
41 // expect some kind of error code
53 // expect some kind of error code
65 // expect some kind of error code
H A Dbug_69757.phpt25 die('expect TRUE on nextRowset');
29 die('expect FALSE on nextRowset');
/php-src/ext/standard/tests/general_functions/
H A D003.phpt6 function test_me($title,$expect,$text1,$text2,$cost1=0,$cost2=0,$cost3=0) {
13 if($result==$expect) return 0;
15 echo "$title: result is $result instead of $expect ";
/php-src/ext/random/tests/03_randomizer/methods/
H A DgetBytesFromString_fast_path.phpt32 // For powers of two we expect no rejections and thus exactly
43 // We also expect that each possible value appears at least once, if
69 // We expect that each possible value appears at least once, if
82 // In the slow path we expect one call per byte, i.e. 20000
92 // We also expect that each possible value appears at least once, if
/php-src/ext/pdo_pgsql/tests/
H A Dbug62593.phpt53 $expect = 'No errors found';
59 $expect = 'Invalid boolean found';
62 echo $expect;
/php-src/ext/standard/tests/file/
H A Dlstat_stat_basic.phpt54 var_dump( compare_self_stat($file_stat) ); //expect true
55 var_dump( compare_self_stat($dir_stat) ); //expect true
56 var_dump( compare_self_stat($link_stat) ); // expect true
59 var_dump( compare_self_stat($new_file_stat) ); //expect true
60 var_dump( compare_self_stat($new_dir_stat) ); // expect true
67 var_dump( compare_stats($dir_stat, $new_dir_stat, $affected_elements, '!=', true) ); // expect true
70 var_dump( compare_stats($file_stat, $new_file_stat, $all_stat_keys, "==", true) ); // expect true
H A Dstat_basic-win32-mb.phpt42 var_dump( compare_self_stat($file_stat) ); //expect true
43 var_dump( compare_self_stat($dir_stat) ); //expect true
46 var_dump( compare_self_stat($new_dir_stat) ); // expect true
53 var_dump( compare_stats($dir_stat, $new_dir_stat, $affected_elements, '!=', true) ); // expect true
H A Dstat_basic-win32.phpt42 var_dump( compare_self_stat($file_stat) ); //expect true
43 var_dump( compare_self_stat($dir_stat) ); //expect true
46 var_dump( compare_self_stat($new_dir_stat) ); // expect true
53 var_dump( compare_stats($dir_stat, $new_dir_stat, $affected_elements, '!=', true) ); // expect true
H A Dfgets_error.phpt25 var_dump( fgets($fp, $len) ); // return length - 1 always, expect false
/php-src/ext/zip/tests/
H A Dbug7658.phpt7 $expect = array(
44 $ar = array_diff($found, $expect);
/php-src/sapi/fpm/tests/
H A Dsocket-close-on-exec.phpt30 echo "My sockets (expect to see 2 of them - one ESTABLISHED and one LISTEN):\n";
40 We expect that both LISTEN (inherited from the master process) and ACCEPTED (ESTABLISHED)
66 My sockets (expect to see 2 of them - one ESTABLISHED and one LISTEN):
/php-src/tests/classes/
H A Dobject_reference_001.phpt19 // In ZE1, we would expect "I'm Foo!"
/php-src/ext/filter/tests/
H A D034.phpt27 echo "$val failed,'$exp' expect, '$res' received.\n";
/php-src/ext/dom/tests/
H A DDOMDocument_relaxNGValidate_error1.phpt23 Warning: DOMDocument::relaxNGValidate(): Did not expect element pear there in %s on line %d
/php-src/ext/standard/tests/strings/
H A Dstrncmp_variation7.phpt9 /* A binary function should not expect a null terminated string, and it should treat input as a raw…
H A Dstrncasecmp_variation7.phpt9 /* A binary function should not expect a null terminated string, and it should treat input as a raw…
/php-src/Zend/tests/
H A Darginfo_zpp_mismatch.inc5 /* expect input / hang */

Completed in 22 milliseconds

123