summaryrefslogtreecommitdiff
path: root/tests/ts/script
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2009-01-20 00:16:53 +0100
committerKarel Zak <kzak@redhat.com>2009-02-11 23:32:58 +0100
commit0674bd0b90345eb393ab38c0b8f07d5ff85bed43 (patch)
tree0db679662d5051947d4f6d2cfe54731e8f7a2fa1 /tests/ts/script
parent4468cec52a5b315786b4975d1cbff1650d558672 (diff)
downloadutil-linux-0674bd0b90345eb393ab38c0b8f07d5ff85bed43.tar.gz
tests: cleanup ts/script
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/script')
-rwxr-xr-xtests/ts/script/race7
1 files changed, 3 insertions, 4 deletions
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