php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63147 Some tests fail because require internet connection
Submitted: 2012-09-24 07:04 UTC Modified: 2012-10-01 02:58 UTC
From: remi@php.net Assigned: remi (profile)
Status: Closed Package: Testing related
PHP Version: 5.4.7 OS: GNU/Linux (Fedora 18)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: remi@php.net
New email:
PHP Version: OS:

 

 [2012-09-24 07:04 UTC] remi@php.net
Description:
------------
Hi,

Test which requires an internet connection (dns request, ...) fail if test are run offline.

This is the case in some build environment.

Proposal : add a SKIP_ONLINE_TESTS condition for such tests.

I will submit a pull request.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-25 03:10 UTC] laruence@php.net
remi, should there also be a corresponding option for run-test.php?
 [2012-09-25 04:57 UTC] remi@php.net
There is a few tests concerned and probably a few people affected.
But --offline option added (in the pull request)

Note : if this "small" feature is accepted, I will also check the non-standard extension for such tests (currently, with run "make test", after build, only for static extension)
 [2012-09-27 06:58 UTC] pajoye@php.net
Assigned to Remi. :)
 [2012-09-27 06:58 UTC] pajoye@php.net
-Assigned To: +Assigned To: remi
 [2012-10-01 02:58 UTC] stas@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-10-01 02:58 UTC] stas@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 02 11:01:28 2025 UTC