set random seed in testing to get deterministic results

This commit is contained in:
Miroslav Lichvar 2015-06-22 15:39:40 +02:00
parent 17f7cb3e4e
commit 6861b98b52

View File

@ -119,6 +119,8 @@ echo 'chronyd.service' > \
gzip -9 -f -k chrony.txt gzip -9 -f -k chrony.txt
%check %check
# set random seed to get deterministic results
export CLKNETSIM_RANDOM_SEED=24501
make %{?_smp_mflags} -C test/simulation/clknetsim make %{?_smp_mflags} -C test/simulation/clknetsim
make check make check