-
Notifications
You must be signed in to change notification settings - Fork 18k
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
compress/flate: TestDeflateInflateString fails #10515
Comments
It's passing on build.golang.org's windows/amd64 bots. Any idea what's different about this machine? Is it a reliable failure? I reworked compress/flate somewhat recently. Can you try bisecting to see if one of those CLs caused this? |
I suspect your git checkout is bad. src/compress/testdata/e.txt should be 100003 bytes large, but it looks like yours is 100004 bytes large. I'm guessing because git converted the line ending to CRLF, which would cause the compressed data to grow slightly, and cause the test to fail. |
Indeed extra CR in src/compress/testdata/e.txt was the problem. I was debugging some old code, and did "git checkout go1.4". go1.4 version does not have .gitattributes file. So moving between go1.4 and master with "git checkout" does not handle line ends properly. Deleting all files and "git reset --hard" does the job. Thanks for your help. Alex |
Perhaps we should add .gitattribute file to all the other branches if
Go always considers the current .gitattribute file to be in effect.
(I was told otherwise when we added .gitattribute file though.)
|
I think it is everywhere now. I am talking about go1.4 label. Alex |
The text was updated successfully, but these errors were encountered: