From: Karel Zak Date: Mon, 19 Jan 2009 23:16:53 +0000 (+0100) Subject: tests: cleanup ts/script X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0674bd0b90345eb393ab38c0b8f07d5ff85bed43;p=util-linux tests: cleanup ts/script Signed-off-by: Karel Zak --- diff --git a/tests/ts/script/race b/tests/ts/script/race index d450ec5d..4962db96 100755 --- a/tests/ts/script/race +++ b/tests/ts/script/race @@ -15,15 +15,14 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -. ./commands.sh -. ./functions.sh -TS_COMPONENT="script" +TS_TOPDIR="$(dirname $0)/../.." TS_DESC="race conditions" +. $TS_TOPDIR/functions.sh ts_init "$*" -bingofile="$TS_OUTDIR/${TS_NS}-bingo" +bingofile="$TS_OUTDIR/${TS_TESTNAME}-bingo" set -o pipefail