]> err.no Git - util-linux/commitdiff
tests: cleanup ts/look
authorKarel Zak <kzak@redhat.com>
Mon, 19 Jan 2009 23:02:50 +0000 (00:02 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Feb 2009 22:30:48 +0000 (23:30 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/look/separator

index 81e66ea2fdf852499bf3a33845de999ee33457bd..53cf9c7eb9ed1f7dbd1dfd30385736bea479f472 100755 (executable)
 #              uniq >  words
 #
 
-. ./commands.sh
-. ./functions.sh
-
-TS_COMPONENT="look"
+TS_TOPDIR="$(dirname $0)/../.."
 TS_DESC="separator"
 
+. $TS_TOPDIR/functions.sh
 ts_init "$*"
 
 [ -f "/usr/share/dict/words" ] || ts_skip "/usr/share/dict/words not such file"