summaryrefslogtreecommitdiffstats
path: root/tests/ts/hwclock
diff options
context:
space:
mode:
authorKarel Zak2009-01-19 23:41:21 +0100
committerKarel Zak2009-02-11 23:30:15 +0100
commitfb59721f6285016818e89b8a756f8db48fc3c02f (patch)
tree2f9b513cc904e63f166cdfb1c7d7b881cfae65bb /tests/ts/hwclock
parenttests: refresh and cleanup cramfs/mkfs (diff)
downloadkernel-qcow2-util-linux-fb59721f6285016818e89b8a756f8db48fc3c02f.tar.gz
kernel-qcow2-util-linux-fb59721f6285016818e89b8a756f8db48fc3c02f.tar.xz
kernel-qcow2-util-linux-fb59721f6285016818e89b8a756f8db48fc3c02f.zip
tests: cleanup ts/hwclock
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/hwclock')
-rwxr-xr-xtests/ts/hwclock/systohc8
1 files changed, 3 insertions, 5 deletions
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