##// END OF EJS Templates
tests: use sha256line.py instead of /dev/random in test-censor.t (issue6858)...
tests: use sha256line.py instead of /dev/random in test-censor.t (issue6858) Sometimes the systems that run our test suite don't have enough entropy and they cannot produce target file of the expected size using /dev/random, which results in test failures. Switching to /dev/urandom would give us way more available data at the cost of it being less "random", but we don't really need to use entropy for this task at all, since we only care if the file size after compression is big enough to not be stored inline in the revlog. So let's use something that we already have used to generate this kind of data in other tests.

File last commit:

r42237:675775c3 default
r52255:e7be2ddf stable
Show More
MANIFEST.in
9 lines | 139 B | text/plain | TextLexer
Gregory Szorc
zstd: vendor python-zstandard 0.6.0...
r30822 graft c-ext
Gregory Szorc
zstandard: vendor python-zstandard 0.10.1...
r40157 graft debian
Gregory Szorc
zstd: vendor python-zstandard 0.5.0...
r30435 graft zstd
Gregory Szorc
zstandard: vendor python-zstandard 0.9.0...
r37513 graft tests
Gregory Szorc
zstd: vendor python-zstandard 0.5.0...
r30435 include make_cffi.py
Gregory Szorc
zstd: vendor python-zstandard 0.6.0...
r30822 include setup_zstd.py
include zstd.c
Gregory Szorc
zstandard: vendor python-zstandard 0.9.0...
r37513 include LICENSE
Gregory Szorc
zstandard: vendor python-zstandard 0.10.1...
r40157 include NEWS.rst