test/chrony: add all the new refclock options

Add all the new refclock options to the test manifest.
This commit is contained in:
Achilleas Koutsou 2025-04-08 14:33:53 +02:00 committed by Simon de Vlieger
parent 8baf16da06
commit 7771a39557
3 changed files with 78 additions and 1 deletions

View file

@ -657,6 +657,51 @@
"timeservers": [
"ntp.example.com",
"ntp2.example.com"
],
"refclocks": [
{
"driver": {
"name": "PPS",
"device": "/dev/pps42",
"clear": true
},
"poll": 1,
"dpoll": 2,
"offset": 0.3
},
{
"driver": {
"name": "SHM",
"segment": 42,
"perm": "0660"
},
"poll": 1,
"dpoll": 2,
"offset": 0.3
},
{
"driver": {
"name": "SOCK",
"path": "/run/time/thingie.socket"
},
"poll": 1,
"dpoll": 2,
"offset": 0.3
},
{
"driver": {
"name": "PHC",
"path": "/dev/ptp11",
"nocrossts": true,
"extpps": true,
"pin": 3,
"channel": 4,
"clear": true
},
"poll": 1,
"dpoll": 2,
"offset": 0.3
}
]
}
}

View file

@ -32,3 +32,35 @@ pipelines:
timeservers:
- ntp.example.com
- ntp2.example.com
refclocks:
- driver:
name: PPS
device: "/dev/pps42"
clear: true
poll: 1
dpoll: 2
offset: 0.3
- driver:
name: SHM
segment: 42
perm: "0660"
poll: 1
dpoll: 2
offset: 0.3
- driver:
name: SOCK
path: "/run/time/thingie.socket"
poll: 1
dpoll: 2
offset: 0.3
- driver:
name: PHC
path: "/dev/ptp11"
nocrossts: true
extpps: true
pin: 3
channel: 4
clear: true
poll: 1
dpoll: 2
offset: 0.3

View file

@ -5,7 +5,7 @@
"/etc/chrony.conf": {
"content": [
"sha256:204145d4e6cdbb720012175d1ad0209d5f618055d906ed651f883370cce915b0",
"sha256:9afbf4d52438f25af8fd74e6a9ee41c61e266505e83063ad894376b710496746"
"sha256:6608a8dd24405bf8dfdfdb4eba8a5a3340b1700fe09cf63111c529df0afb7ae3"
]
}
}