Skip to content
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

fix t/smartos.bats tests #1

Open
josephholsten opened this issue Aug 19, 2014 · 1 comment
Open

fix t/smartos.bats tests #1

josephholsten opened this issue Aug 19, 2014 · 1 comment

Comments

@josephholsten
Copy link
Contributor

omnios does not support the full set of features defined in t/default.bats, presumably because it does not have a native implementation of flock(2).

Either these features should be fixed, or disabled so users can't accidentally perform dangerous operations with a broken flock.

@josephholsten josephholsten changed the title fix t/fcntl.bats tests on non flock(2) systems fix t/smartos.bats tests Aug 20, 2014
@josephholsten
Copy link
Contributor Author

This was originally due to using lockf() instead of fcntl(). lockf() does not support shared locks, so these bugs should have been expected.

it actually seems that most of these are throwing Bad file number errors.

Additionally, -u is not successfully unlocking files.

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

No branches or pull requests

1 participant