mirror of
https://github.com/php/php-src.git
synced 2024-09-29 13:56:09 +00:00
Down to a single curl test failure now
This commit is contained in:
parent
e7e232cd2b
commit
578c47faa4
@ -19,7 +19,7 @@ function curl_callback($curl_handle, $received_data)
|
|||||||
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
|
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
|
||||||
|
|
||||||
$fp = fopen($log_file, 'w+');
|
$fp = fopen($log_file, 'w+');
|
||||||
fwrite($fp, "test");
|
fwrite($fp, b"test");
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
|
@ -14,7 +14,7 @@ $test_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
|
|||||||
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
|
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
|
||||||
|
|
||||||
$fp = fopen($log_file, 'w+');
|
$fp = fopen($log_file, 'w+');
|
||||||
fwrite($fp, "test");
|
fwrite($fp, b"test");
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
|
||||||
$testfile_fp = fopen($test_file, 'w+');
|
$testfile_fp = fopen($test_file, 'w+');
|
||||||
|
@ -14,7 +14,7 @@ of curl_write().
|
|||||||
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
|
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
|
||||||
|
|
||||||
$fp = fopen($log_file, 'w+');
|
$fp = fopen($log_file, 'w+');
|
||||||
fwrite($fp, "test");
|
fwrite($fp, b"test");
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
|
@ -13,7 +13,7 @@ Writes the value 'test' to a temporary file. Use curl to access this file and st
|
|||||||
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
|
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
|
||||||
|
|
||||||
$fp = fopen($log_file, 'w+');
|
$fp = fopen($log_file, 'w+');
|
||||||
fwrite($fp, "test");
|
fwrite($fp, b"test");
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
|
Loading…
Reference in New Issue
Block a user