New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t/dir.t test 6 (readdir after opendir) #13

Closed
toddr opened this Issue Oct 29, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@toddr
Member

toddr commented Oct 29, 2018

We have a test that confirms actual perl directory read behavior is that directories created after opendir are not seen when at EOF and doing a readdir.

This seems to be breaking only on freebsd for the moment.

http://matrix.cpantesters.org/?dist=Test-MockFile%200.008;os=freebsd;reports=1

@toddr

This comment has been minimized.

Member

toddr commented Oct 29, 2018

@eserte FYI I saw the failures. I don't have a plan for this other than maybe to skip the test. I'm going to ask p5p if they're aware of anything related to this.

@eserte

This comment has been minimized.

eserte commented Nov 2, 2018

The special things about the failing smokers: ZFS is used here. It does not fail on my other FreeBSD smokers with traditional UFS.

@toddr

This comment has been minimized.

Member

toddr commented Nov 2, 2018

The problem is that the behavior of readdir is somewhat undefined and left to the OS. I'm probably going to just remove the test and stick with my current behavior.

@toddr

This comment has been minimized.

Member

toddr commented Nov 16, 2018

Should be fixed by 6c7dbfa

@toddr toddr closed this Nov 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment