From acf5158066d72d3c1954f191456891e7080a734a Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 22 Sep 2015 10:52:47 +0200 Subject: [PATCH] set random seed in testing to get deterministic results --- linuxptp.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linuxptp.spec b/linuxptp.spec index f029078..b65f28c 100644 --- a/linuxptp.spec +++ b/linuxptp.spec @@ -61,6 +61,8 @@ echo '.so man8/timemaster.8' > $RPM_BUILD_ROOT%{_mandir}/man5/timemaster.conf.5 %check cd testsuite +# set random seed to get deterministic results +export CLKNETSIM_RANDOM_SEED=26743 make %{?_smp_mflags} -C clknetsim PATH=..:$PATH ./run