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/blackbox_local fails on mipsel #18

Open
iliastsi opened this issue Oct 18, 2019 · 1 comment
Open

test/blackbox_local fails on mipsel #18

iliastsi opened this issue Oct 18, 2019 · 1 comment

Comments

@iliastsi
Copy link

Hi!

test/blackbox_local fails on mipsel with the following error:

HUnitFailure (Just (SrcLoc {srcLocPackage = "main", srcLocModule = "System.IO.Streams.Network.HAProxy.Tests", srcLocFile = "test/System/IO/Streams/Network/HAProxy/Tests.hs", srcLocStartLine = 178, srcLocStartCol = 9, srcLocEndLine = 178, srcLocEndCol = 36})) (ExpectedButGot (Just "type") "Stream" "Datagram")

You can find complete logs here. Please let me know if I can help debugging this.

@iliastsi
Copy link
Author

The problem here is that the code at https://github.com/snapframework/io-streams-haproxy/blob/master/src/System/IO/Streams/Network/HAProxy.hs#L76 which tries to compute the type of the socket does not take into account that SOCK_STREAM and SOCK_DGRAM are platform dependent and have different values on mips than on x86_64.

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