From b319621a35a23d9403a151aaee12efc8519f491f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 19 Jan 2009 22:37:52 +0100 Subject: [PATCH] tests: cleanup ts/cal scripts Signed-off-by: Karel Zak --- tests/ts/cal/1m | 5 ++--- tests/ts/cal/3m | 6 ++---- tests/ts/cal/year | 6 ++---- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/tests/ts/cal/1m b/tests/ts/cal/1m index 53a1395e..1fe64cf9 100755 --- a/tests/ts/cal/1m +++ b/tests/ts/cal/1m @@ -15,12 +15,11 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -. ./commands.sh -. ./functions.sh -TS_COMPONENT="cal" +TS_TOPDIR="$(dirname $0)/../.." TS_DESC="1 month" +. $TS_TOPDIR/functions.sh ts_init "$*" set -o pipefail diff --git a/tests/ts/cal/3m b/tests/ts/cal/3m index aa815f58..e8b5da5e 100755 --- a/tests/ts/cal/3m +++ b/tests/ts/cal/3m @@ -15,12 +15,10 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -. ./commands.sh -. ./functions.sh - -TS_COMPONENT="cal" +TS_TOPDIR="$(dirname $0)/../.." TS_DESC="3 months" +. $TS_TOPDIR/functions.sh ts_init "$*" set -o pipefail diff --git a/tests/ts/cal/year b/tests/ts/cal/year index 769373a9..658c393f 100755 --- a/tests/ts/cal/year +++ b/tests/ts/cal/year @@ -15,12 +15,10 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -. ./commands.sh -. ./functions.sh - -TS_COMPONENT="cal" +TS_TOPDIR="$(dirname $0)/../.." TS_DESC="year" +. $TS_TOPDIR/functions.sh ts_init "$*" set -o pipefail -- 2.39.5