test: specify files with path in source commands

This should prevent sourcing of an unrelated file found in $PATH.
This commit is contained in:
Miroslav Lichvar 2016-02-05 10:52:47 +01:00
parent 8b676502de
commit a63e18edb8
31 changed files with 31 additions and 31 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "default test settings"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "large network"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "large frequency offset"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "large time offset"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "external time step"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "large jitter"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "large wander"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "NTP eras"
# Assume NTP_ERA_SPLIT is between years 1960 and 1990

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "source selection"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "minpoll/maxpoll options"
wander=0.0

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "iburst option"
freq_offset=1e-4

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "initstepslew directive"
freq_offset=0.0

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "driftfile directive"
servers=0

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "NTP authentication"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "SHM refclock"
servers=0

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "allow/deny directives"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "NTP peers"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "makestep directive"
client_conf="makestep 0 -1

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "chronyc"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "reply to client configured as server"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "port and acquisitionport directives"

View file

@ -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')

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "presend option"
min_sync_time=140

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "cmdmon timestamps"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "minsources directive"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "fallback drift"
limit=100000

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "maxdelay options"
max_sync_time=2000

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "smoothtime option"
server_strata=2

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
test_start "source selection options"

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
# Test fix in commit 60d0fa299307076143da94d36deb7b908fa9bdb7

View file

@ -1,6 +1,6 @@
#!/bin/bash
. test.common
. ./test.common
# Test fix in commit 4253075a97141edfa62043ab71bd0673587e6629