test overlay fixes
This commit is contained in:
parent
0a4427bb89
commit
5d6e79783f
2 changed files with 4 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ def overlay_setup(repo_root):
|
|||
d == 'mmgen.data' or
|
||||
d == 'mmgen' and fn.startswith('secp256k1')
|
||||
):
|
||||
if fn in fakemods:
|
||||
if d == 'mmgen' and fn in fakemods:
|
||||
make_link(
|
||||
os.path.join(fakemod_dir,fn),
|
||||
os.path.join(destdir,fn) )
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
from .crypto_orig import *
|
||||
|
||||
if os.getenv('MMGEN_TEST_SUITE_DETERMINISTIC'):
|
||||
|
||||
get_random_orig = get_random
|
||||
add_user_random_orig = add_user_random
|
||||
|
||||
import sys
|
||||
fake_rand_h = sha256('.'.join(sys.argv).encode())
|
||||
|
||||
def fake_urandom(n):
|
||||
|
||||
def gen(rounds):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue