forked from pool/chrony
This commit is contained in:
parent
0e3b340528
commit
5393c63ce9
35
chrony-124-tai.patch
Normal file
35
chrony-124-tai.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
From 8f5b3084144967b313cfb51285bf6517e06e1b9e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Miroslav Lichvar <mlichvar@redhat.com>
|
||||||
|
Date: Tue, 4 Jun 2024 16:23:41 +0200
|
||||||
|
Subject: [PATCH] test: make 124-tai more reliable
|
||||||
|
|
||||||
|
Reported-by: Reinhard Max <max@suse.de>
|
||||||
|
---
|
||||||
|
test/simulation/124-tai | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/test/simulation/124-tai b/test/simulation/124-tai
|
||||||
|
index 0192e10..e8c909d 100755
|
||||||
|
--- a/test/simulation/124-tai
|
||||||
|
+++ b/test/simulation/124-tai
|
||||||
|
@@ -20,7 +20,7 @@ client_conf="
|
||||||
|
refclock SHM 0 dpoll 0 poll 0 tai
|
||||||
|
leapseclist tmp/leap.list
|
||||||
|
leapsecmode ignore
|
||||||
|
-maxchange 1e-3 1 0"
|
||||||
|
+maxchange 1e-3 10 0"
|
||||||
|
|
||||||
|
cat > tmp/leap.list <<-EOF
|
||||||
|
#$ 3676924800
|
||||||
|
@@ -43,7 +43,7 @@ client_conf="
|
||||||
|
refclock SHM 0 dpoll 0 poll 0 tai
|
||||||
|
leapseclist tmp/leap.list
|
||||||
|
makestep 1 1
|
||||||
|
-maxchange 1e-3 1 0"
|
||||||
|
+maxchange 1e-3 10 0"
|
||||||
|
|
||||||
|
run_test || test_fail
|
||||||
|
check_chronyd_exit || test_fail
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
@ -70,7 +70,7 @@ Patch2: chrony-logrotate.patch
|
|||||||
Patch3: chrony-service-ordering.patch
|
Patch3: chrony-service-ordering.patch
|
||||||
Patch7: chrony-htonl.patch
|
Patch7: chrony-htonl.patch
|
||||||
Patch8: chrony.nm-dispatcher.dhcp.patch
|
Patch8: chrony.nm-dispatcher.dhcp.patch
|
||||||
Patch9: chrony-tai.patch
|
Patch9: chrony-124-tai.patch
|
||||||
BuildRequires: NetworkManager-devel
|
BuildRequires: NetworkManager-devel
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
@ -182,7 +182,7 @@ e.g. because the servers will be set via DHCP.
|
|||||||
%patch -P 3
|
%patch -P 3
|
||||||
%patch -P 7
|
%patch -P 7
|
||||||
%patch -P 8
|
%patch -P 8
|
||||||
#%patch -P 9
|
%patch -P 9
|
||||||
|
|
||||||
# Remove pool statements from the default /etc/chrony.conf. They will
|
# Remove pool statements from the default /etc/chrony.conf. They will
|
||||||
# be provided by branding packages in /etc/chrony.d/pool.conf .
|
# be provided by branding packages in /etc/chrony.d/pool.conf .
|
||||||
@ -296,7 +296,7 @@ find %{buildroot} -type f | xargs sed -i '
|
|||||||
%ifnarch %ix86
|
%ifnarch %ix86
|
||||||
%check
|
%check
|
||||||
# Set random seed to get deterministic results
|
# Set random seed to get deterministic results
|
||||||
#export CLKNETSIM_RANDOM_SEED=24501
|
export CLKNETSIM_RANDOM_SEED=24501
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
make %{?_smp_mflags} -C test/simulation/clknetsim
|
make %{?_smp_mflags} -C test/simulation/clknetsim
|
||||||
pushd test/simulation
|
pushd test/simulation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user