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

test_seek is broken on FreeBSD #42

Open
ligurio opened this issue Feb 26, 2021 · 0 comments
Open

test_seek is broken on FreeBSD #42

ligurio opened this issue Feb 26, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@ligurio
Copy link
Owner

ligurio commented Feb 26, 2021

setup_unreliablefs = ('/tmp/pytest-of-root/pytest-0/test_seek0/mnt', '/tmp/pytest-of-root/pytest-0/test_seek0/src')

    def test_seek(setup_unreliablefs):
        mnt_dir, src_dir = setup_unreliablefs
        name = name_generator()
        os_create(pjoin(src_dir, name))
        fullname = pjoin(mnt_dir, name)
        with os_open(fullname, os.O_WRONLY) as fd:
            os.lseek(fd, 1, os.SEEK_SET)
>           os.write(fd, b'foobar\n')
E           OSError: [Errno 9] Bad file descriptor

tests/test_unreliablefs.py:200: OSError

https://cirrus-ci.com/task/5170998354903040?command=test#L47

@ligurio ligurio added the bug Something isn't working label Feb 26, 2021
@ligurio ligurio changed the title test_seek is broken on FreeBSD 12 test_seek is broken on FreeBSD Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant