]> err.no Git - util-linux/commitdiff
tests: cleanup ts/script
authorKarel Zak <kzak@redhat.com>
Mon, 19 Jan 2009 23:16:53 +0000 (00:16 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Feb 2009 22:32:58 +0000 (23:32 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/script/race

index d450ec5dd9af2c990786b516a2562ac7cabc3803..4962db969fb6cc6b018b8cea6873ec8f32338348 100755 (executable)
 # 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