test: specify files with path in source commands
This should prevent sourcing of an unrelated file found in $PATH.
This commit is contained in:
parent
8b676502de
commit
a63e18edb8
31 changed files with 31 additions and 31 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "default test settings"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "large network"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "large frequency offset"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "large time offset"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "external time step"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "large jitter"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "large wander"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "NTP eras"
|
||||
|
||||
# Assume NTP_ERA_SPLIT is between years 1960 and 1990
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "source selection"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "minpoll/maxpoll options"
|
||||
|
||||
wander=0.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "iburst option"
|
||||
|
||||
freq_offset=1e-4
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "initstepslew directive"
|
||||
|
||||
freq_offset=0.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "driftfile directive"
|
||||
|
||||
servers=0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "NTP authentication"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "SHM refclock"
|
||||
|
||||
servers=0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "allow/deny directives"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "NTP peers"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "makestep directive"
|
||||
|
||||
client_conf="makestep 0 -1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "chronyc"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "reply to client configured as server"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "port and acquisitionport directives"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "leap second"
|
||||
|
||||
export CLKNETSIM_START_DATE=$(TZ=UTC date -d 'Dec 30 2008 0:00:00' +'%s')
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "presend option"
|
||||
|
||||
min_sync_time=140
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "cmdmon timestamps"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "minsources directive"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "fallback drift"
|
||||
|
||||
limit=100000
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "maxdelay options"
|
||||
|
||||
max_sync_time=2000
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
test_start "smoothtime option"
|
||||
|
||||
server_strata=2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
test_start "source selection options"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
# Test fix in commit 60d0fa299307076143da94d36deb7b908fa9bdb7
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. test.common
|
||||
. ./test.common
|
||||
|
||||
# Test fix in commit 4253075a97141edfa62043ab71bd0673587e6629
|
||||
|
||||
|
|
Loading…
Reference in a new issue