diff options
author | Karel Zak | 2009-01-19 22:37:52 +0100 |
---|---|---|
committer | Karel Zak | 2009-02-11 23:30:14 +0100 |
commit | b319621a35a23d9403a151aaee12efc8519f491f (patch) | |
tree | 60ceadcdaf54ee39738333bc118ce5f1f51fc4ec /tests/ts/cal | |
parent | tests: fix TS_* paths (diff) | |
download | kernel-qcow2-util-linux-b319621a35a23d9403a151aaee12efc8519f491f.tar.gz kernel-qcow2-util-linux-b319621a35a23d9403a151aaee12efc8519f491f.tar.xz kernel-qcow2-util-linux-b319621a35a23d9403a151aaee12efc8519f491f.zip |
tests: cleanup ts/cal scripts
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/cal')
-rwxr-xr-x | tests/ts/cal/1m | 5 | ||||
-rwxr-xr-x | tests/ts/cal/3m | 6 | ||||
-rwxr-xr-x | 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 53a1395ea..1fe64cf90 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 aa815f586..e8b5da5e0 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 769373a90..658c393f7 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 |