From 37c28b42a6f35bf050b6f0dfeccd8a86e91b1281 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 19 Jan 2009 23:59:51 +0100 Subject: [PATCH] tests: cleanup ts/login Signed-off-by: Karel Zak --- tests/ts/login/checktty | 7 +++---- tests/ts/login/islocal | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/tests/ts/login/checktty b/tests/ts/login/checktty index a5a13279..d19fb023 100755 --- a/tests/ts/login/checktty +++ b/tests/ts/login/checktty @@ -15,13 +15,12 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -. ./commands.sh -. ./functions.sh - -TS_COMPONENT="login" +TS_TOPDIR="$(dirname $0)/../.." TS_DESC="checktty" +. $TS_TOPDIR/functions.sh ts_init "$*" + $TS_CMD_CHECKTTY >> $TS_OUTPUT ts_finalize diff --git a/tests/ts/login/islocal b/tests/ts/login/islocal index acffb077..0534f7ef 100755 --- a/tests/ts/login/islocal +++ b/tests/ts/login/islocal @@ -15,13 +15,12 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -. ./commands.sh -. ./functions.sh - -TS_COMPONENT="login" +TS_TOPDIR="$(dirname $0)/../.." TS_DESC="islocal" +. $TS_TOPDIR/functions.sh ts_init "$*" + $TS_CMD_ISLOCAL "$TS_SELF/islocal.data" root nobody "" youngman youngman2 \ abcdefghx nobo long rot al malformed \ nonl znobody >> $TS_OUTPUT -- 2.39.5