diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-05-23 14:36:01 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-05-23 14:36:01 -0400 |
commit | 7893f2cd73310aaf20283f72dc05167a23584ac6 (patch) | |
tree | 7d8c033fe4ee9af8dabbbe17c8d7b347145c36ff /scripts | |
parent | 07ccffa989a8c6ac6ac216b6e729daed14372620 (diff) | |
download | tor-7893f2cd73310aaf20283f72dc05167a23584ac6.tar.gz tor-7893f2cd73310aaf20283f72dc05167a23584ac6.zip |
cov-test-determinism: use the same RNG seed as in travis.yml
We added this facility so that we could get deterministic PRNG
behavior for coverage testing on tests that use a replaced PRNG.
We need to have our coverage determinism tool test for this as well.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test/cov-test-determinism.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/test/cov-test-determinism.sh b/scripts/test/cov-test-determinism.sh index 3b4f372e04..3458f96968 100755 --- a/scripts/test/cov-test-determinism.sh +++ b/scripts/test/cov-test-determinism.sh @@ -25,6 +25,9 @@ else fi if test "$run" = 1; then + # same seed as in travis.yml + TOR_TEST_RNG_SEED="636f766572616765" + export TOR_TEST_RNG_SEED while true; do make reset-gcov CD=coverage-raw/coverage-$(date +%s) |