summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2007-11-30 10:25:09 +0100
committerJim Meyering <meyering@redhat.com>2007-11-30 10:25:09 +0100
commitd7ed3bcb8dd785f1404d6f68f53c6b5668ac56f8 (patch)
treeef31eef0f102234b05571f2c1e15f4c920239f48 /build-aux
parent688073771da95df0d7551b8361e264180bfffe5f (diff)
downloadcoreutils-d7ed3bcb8dd785f1404d6f68f53c6b5668ac56f8.tar.xz
Define `tst', for CU_TEST_NAME.
* build-aux/check.mk (am__check_pre): Set `tst', for CU_TEST_NAME in tests/check.mk.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/check.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-aux/check.mk b/build-aux/check.mk
index 9f63b6d17..95f56cb5f 100644
--- a/build-aux/check.mk
+++ b/build-aux/check.mk
@@ -94,6 +94,7 @@ SH_E_WORKAROUND = case $$- in *e*) set +e;; esac
# containing $src, and passes TESTS_ENVIRONMENT.
am__check_pre = \
$(SH_E_WORKAROUND); \
+tst=`echo "$$src" | sed 's|^.*/||'`; \
$(mkdir_p) "$$(dirname $@)" || exit; \
if test -f "./$$src"; then dir=./; \
elif test -f "$$src"; then dir=; \