Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
Clean up bin_test
· 82b4cda7
Matt Selsky
authored
Aug 26, 2016
and
Matt Selsky
committed
Aug 26, 2016
tg2/propdelay were both removed bumpclock was merged into ntpfrob
82b4cda7
Typos
· 116b0230
Matt Selsky
authored
Aug 26, 2016
116b0230
Hide whitespace changes
Inline
Side-by-side
docs/includes/ntpfrob-body.txt
View file @
116b0230
...
...
@@ -24,7 +24,7 @@ utilities.
+-A+::
Display the kernel variable +tick+.
+-b+ 'bump'::
Bump the clock by a specified number of micro
ce
seconds.
Bump the clock by a specified number of microseconds.
+-c+::
Compute and display clock jitter.
+-e+::
...
...
ntpstats/ntpviz
View file @
116b0230
...
...
@@ -343,7 +343,7 @@ plot \
histogram_data =
["%s
%
s
\
n
"
%
(
val
,
cnt
[
val
])
for
val
in
vals
]
return
plot_template.replace
('@',
'%')
+
"".
join
(
histogram_data
)
#
Multplotting
can
'
t
live
inside
NTPViz
because
it
consumes
a
list
#
Mult
i
plotting
can
'
t
live
inside
NTPViz
because
it
consumes
a
list
#
of
such
objects
,
not
a
single
one.
def
local_offset_multiplot
(
statlist
)
:
...
...
wafhelpers/bin_test.py
View file @
116b0230
...
...
@@ -7,13 +7,11 @@ cmd_map = {
(
"
main/ntpd/ntpd
"
,
"
-invalid
"
):
r
'
.*must be run as root, not uid.*
'
,
(
"
main/ntpdig/ntpdig
"
,
"
time.apple.com
"
):
r
'
.*time.apple.com.*
'
,
(
"
main/ntpfrob/ntpfrob
"
,
"
-h
"
):
r
'
.*illegal option.*
'
,
(
"
main/ntpfrob/ntpfrob
"
,
"
-b 100000
"
):
r
"
.*Bumping clock by 100000 microseconds.*
"
,
(
"
main/ntpkeygen/ntpkeygen
"
,
"
-M
"
):
r
'
.*Generating new md5 file and link.*
'
,
(
"
main/ntpq/ntpq
"
,
"
-p
"
):
r
'
.*remote.*jitter.*
'
,
(
"
main/ntptime/ntptime
"
,
None
):
r
'
.*ntp_gettime\(\) returns code 0 \(OK\).*
'
,
(
"
main/util/bumpclock
"
,
None
):
r
"
.*Bumping clock by 100000 microseconds.*
"
,
(
"
main/util/propdelay
"
,
"
1
"
,
"
1
"
,
"
2
"
,
"
2
"
):
r
'
.*summer propagation, height 350 km, hops 1, delay 0.00239626 seconds.*
'
,
(
"
main/util/sht
"
,
"
2:r
"
):
r
'
.*reader.*
'
,
(
"
main/util/tg2
"
,
"
--help
"
):
r
'
.*illegal option.*
'
,
# XXX: Need to figure out how to test this.
# ("main/util/hist", ""): r'',
...
...