summaryrefslogtreecommitdiffstats
path: root/tests/ts/script
diff options
context:
space:
mode:
authorKarel Zak2009-01-20 00:16:53 +0100
committerKarel Zak2009-02-11 23:32:58 +0100
commit0674bd0b90345eb393ab38c0b8f07d5ff85bed43 (patch)
tree0db679662d5051947d4f6d2cfe54731e8f7a2fa1 /tests/ts/script
parenttests: cleanup ts/paths (diff)
downloadkernel-qcow2-util-linux-0674bd0b90345eb393ab38c0b8f07d5ff85bed43.tar.gz
kernel-qcow2-util-linux-0674bd0b90345eb393ab38c0b8f07d5ff85bed43.tar.xz
kernel-qcow2-util-linux-0674bd0b90345eb393ab38c0b8f07d5ff85bed43.zip
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 d450ec5dd..4962db969 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