diff --git a/tests/ts/hwclock/systohc b/tests/ts/hwclock/systohc index 3ae4fe1b8..413c1fe0f 100755 --- a/tests/ts/hwclock/systohc +++ b/tests/ts/hwclock/systohc @@ -15,14 +15,12 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -. ./commands.sh -. ./functions.sh - -TS_COMPONENT="hwclock" -TS_DESC="systohc" +TS_TOPDIR="$(dirname $0)/../.." +TS_DESC="system to hw" NTP_SERVER="0.fedora.pool.ntp.org" +. $TS_TOPDIR/functions.sh ts_init "$*" ts_skip_nonroot