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 seems to fail depending on host filesystem #58

Closed
DeeUnderscore opened this issue Jun 17, 2021 · 2 comments
Closed

Test seems to fail depending on host filesystem #58

DeeUnderscore opened this issue Jun 17, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@DeeUnderscore
Copy link

TestFlags() seems to fail depending on what filesystem the repository is checked out to. When doing make test from the repo on an ext4 volume, all tests pass. On the other hand, on a btrfs volume, I get a failure:

    dir_test.go:82: 
                Error Trace:    dir_test.go:82
                Error:          Not equal: 
                                expected: 0
                                actual  : 4096
                Test:           TestFlags
--- FAIL: TestFlags (0.00s)

(this is in both cases with go 1.16.5 on NixOS 21.05, Linux 5.10.37)

This particular test also fails on Hydra, the NixOS build server, with yet different output: https://hydra.nixos.org/build/145014299/nixlog/1

@dundee dundee added the bug Something isn't working label Jun 21, 2021
@dundee dundee closed this as completed in 99a71c5 Jun 22, 2021
@dundee
Copy link
Owner

dundee commented Jun 22, 2021

Should be fixed in 5.1.1.

@DeeUnderscore
Copy link
Author

Thanks for tagging the release!

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

2 participants