[php-src] Issue #13688: Test curl_basic_008 can fail
| From: | andypost | Date: | Tue, 12 Mar 2024 18:26:48 +0000 |
| Subject: | [php-src] Issue #13688: Test curl_basic_008 can fail | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246572@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13688
Author: andypost
### Description
Used to build fresh 8.2.17 for Alpinelinux and get failed test, that's because it hit existing
domain
Resulted in this output:
```diff
TEST 5030/16433 [ext/curl/tests/curl_basic_008.phpt]
========DIFF========
+ <!doctype html><html lang="en" class="is_adaptive"
data-page-type="parking-crew"><head><meta
charset="UTF-8"><meta name="robots"
content="noindex"><meta name="robots"
content="nofollow"><meta name="robots"
content="noarchive"><meta property="og:site_name"
content="www.65f08b3918ab1.65f08b3918ac3"><meta property="og:url"
content="http://www.65f08b3918ab1.65f08b3918ac3/"><meta
property="og:image" content="http://yourmine.ru/i/parking/glob_parking.png"><meta
property="fb:app_id" content="280542925476675"><meta
name="viewport" content="width=device-width,initial-scale=1"><meta
name="parking" content="ape"><title>Срок регистрации
домена www.65f08b3918ab1.65f08b3918ac3 истёк</title><link
rel="stylesheet" media="all" href="/parking-crew.css"><link
rel="stylesheet" href="http://i.cdnpark.com/themes/registrar/035524.css"><style>body
{[0m
+ background: #E5E5E5;[0m
- %s resolve%s[0m
- int(6)[0m
```
Now sure how to prevent that in future
### PHP Version
PHP 8.2.17
### Operating System
Alpinelinux