Skip to content

gh7875.phpt fails on FreeBSD CI – why? #7975

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

Closed
wants to merge 9 commits into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Jan 20, 2022

No description provided.

@cmb69
Copy link
Member Author

cmb69 commented Jan 20, 2022

@devnexen, do you have any idea why what.phpt fails on Cirrus CI/FreeBSD? I mean, the file shouldn't be writable.

@devnexen
Copy link
Member

not sure about this but might worth a short, would it be possible to display /etc/rc.conf content ? Locally in my freebsd laptop the said test passes.

@cmb69
Copy link
Member Author

cmb69 commented Jan 20, 2022

Thanks! I've added an attempt to read the file contents.

@devnexen
Copy link
Member

I see nothing out of extraordinary in the system config, things such as growfs or panicmail should not have any effect on this test.

@cmb69
Copy link
Member Author

cmb69 commented Jan 21, 2022

Okay, thanks for checking! I'll work around that then.

cmb69 added a commit that referenced this pull request Jan 21, 2022
Apparently, on Cirrus CI FreeBSD chmodding a file to 0444 doesn't make
it readonly.  So in this case, we skip the test.

[1] <#7975>
@cmb69
Copy link
Member Author

cmb69 commented Jan 21, 2022

Just committed d2ec5be.

@cmb69 cmb69 closed this Jan 21, 2022
@cmb69 cmb69 deleted the cmb/gh7875.phpt branch January 21, 2022 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants