• Jérome Perrin's avatar
    main_test/TestGetGitBlob: workaround a segfault in test · 2658e1c3
    Jérome Perrin authored
    This test also segfaults on v7.0.1 (before Nexedi patches) with both go
    1.12 and also go 1.18.
    
    My understanding of this test is that this emulates a proxy which
    delegates service the blob to workhorse and writes a wrong blob content
    (GNU Licence) and we expect that the actual blob content (MIT Licence)
    is served, regardless of what the proxy have written, so it does not
    seem so important to simulate the proxy writing something wrong, as
    long as we assert that the actual received content is correct.
    2658e1c3
main_test.go 26.3 KB