]> err.no Git - util-linux/commitdiff
tests: cleanup ts/hwclock
authorKarel Zak <kzak@redhat.com>
Mon, 19 Jan 2009 22:41:21 +0000 (23:41 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Feb 2009 22:30:15 +0000 (23:30 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/hwclock/systohc

index 3ae4fe1b8d8e81c8ddf51c282a6586a857426c70..413c1fe0f6f0065a9fd568ee5d062de9d0adfef3 100755 (executable)
 # 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