FAILED TEST exist in make test on FreeBSD13: Test lstat() and stat() functions: usage variations - effects of is_dir() [ext/standard/tests/file/lstat_stat_variation10.phpt]
未关闭
还没有人认领这个 Issue。
Bug
Category: Filesystem
Status: Needs Triage
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.1k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
Description
The following code:
cd /tmp && \
fetch https://www.php.net/distributions/php-8.2.8.tar.xz && \
tar xvf php-8.2.8.tar.xz && \
cd /tmp/php-8.2.8 && \
./configure --disable-all && \
make test
Resulted in this output:
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test disk_free_space and its alias diskfreespace() functions : basic functionality [ext/standard/tests/file/disk_free_space_basic.phpt]
Test lstat() and stat() functions: usage variations - dir/file name stored in object [ext/standard/tests/file/lstat_stat_variation18.phpt]
Test lstat() and stat() functions: usage variations - dir/file names in array [ext/standard/tests/file/lstat_stat_variation19.phpt]
Test lstat() and stat() functions: usage variations - link names stored in array/object [ext/standard/tests/file/lstat_stat_variation20.phpt]
symlink() & friends [ext/standard/tests/file/symlink.phpt]
=====================================================================
php_test_results_20230711_0411.txt
I also tried to compile in /mnt. Another Failed throw.
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test disk_free_space and its alias diskfreespace() functions : basic functionality [ext/standard/tests/file/disk_free_space_basic.phpt]
Test lstat() and stat() functions: usage variations - dir/file name stored in object [ext/standard/tests/file/lstat_stat_variation18.phpt]
Test lstat() and stat() functions: usage variations - dir/file names in array [ext/standard/tests/file/lstat_stat_variation19.phpt]
Test lstat() and stat() functions: usage variations - link names stored in array/object [ext/standard/tests/file/lstat_stat_variation20.phpt]
Bug #74090 stream_get_contents maxlength>-1 returns empty string on windows [ext/standard/tests/streams/bug74090.phpt]
=====================================================================
php_test_results_20230711_0419.txt
But I expected this output instead:
Bug tests are in Passed / Skipped / Expected Failed / Warned, no Bug test is Failed
PHP Version
PHP 8.2.8
Operating System
FreeBSD 13.2-RELEASE
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先查看附带的测试结果,并使用提供的 PHP 8.2.8 配置在 FreeBSD 13.2 上复现 make test。检查 ext/standard/tests/file 和 ext/standard/tests/streams 下指定的测试,尤其是 lstat/stat、disk_free_space、symlink 和 bug74090 这些用例。完成的标准是确定这些测试在 FreeBSD 上失败的原因,并确保受影响的测试报告适当的通过、跳过或预期失败状态。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c, php
- 领域
- operating-systems, testing-qa
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100