Open peti opened 9 years ago
This is because test/inputFile
exists in the github repo but is not included in a package. I would not like to include it since it is huge and unnecessary for users. You could just copy a big local file to the test
directory to pass the test. @peti What do you think?
Yes, I suppose we can do that. I'm not sure it's worthwhile, though. If users aren't supposed to run the test suite from the release tarball, than I reckon it's fine if we don't run the test suite in Nix builds either.
I was bitten by this. Have you considered generating the test/inputFile
in the testsuite?
It's nice if the file is generated. A patch is welcome.
The latest version of
simple-sendfile
does not succeed its test suite when run in our automated CI system: http://hydra.cryp.to/build/497821/nixlog/1/raw. Do you have any suggestion what might be the cause for these errors and what we could do to fix them? Our solution right now is to just not run the test suite, which seems unsatisfactory.