summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeal Walfield <neal@walfield.org>2002-09-05 02:44:29 +0200
committerNeal Walfield <neal@walfield.org>2002-09-05 02:44:29 +0200
commitf27e05f3aaf4aca49385c8de0bc2a7c7ee79109e (patch)
tree715af2bd6e16b8278213876d4431a646ee2e4f2d /tests
parent2002-09-04 Marcus Brinkmann <marcus@g10code.de> (diff)
downloadgnupg2-f27e05f3aaf4aca49385c8de0bc2a7c7ee79109e.tar.xz
gnupg2-f27e05f3aaf4aca49385c8de0bc2a7c7ee79109e.zip
2002-09-04 Neal H. Walfield <neal@g10code.de>
* Makefile.am (inittests.stamp): Do not set LD_LIBRARY_PATH, but rather prepend it. Be more robust and prefer printf over echo -n.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog7
-rw-r--r--tests/Makefile.am12
2 files changed, 15 insertions, 4 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 940a37bf5..d9ff7eb8f 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-04 Neal H. Walfield <neal@g10code.de>
+
+ * Makefile.am (inittests.stamp): Do not set LD_LIBRARY_PATH, but
+ rather prepend it. Be more robust and prefer printf over echo -n.
+
2002-09-04 Marcus Brinkmann <marcus@g10code.de>
* asschk.c (start_server): Close the parent's file descriptors in
@@ -5,7 +10,7 @@
(read_assuan): Variable NREAD removed. Cut off the received line
currectly if more than one line was read.
-2002-09-03 Neal H. Walfield <neal@cs.uml.edu>
+2002-09-03 Neal H. Walfield <neal@g10code.de>
* Makefile.am (inittests.stamp): Construct an LD_LIBRARY_PATH from
LDFLAGS.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 960b14bc2..b2fa56704 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -62,11 +62,17 @@ inittests.stamp: inittests
then \
seen=1; \
else \
- echo -n ":"; \
+ printf ":"; \
fi; \
- echo -n $${i} | sed 's/^-L//'; \
+ printf "%s" "$${i}" | sed 's/^-L//'; \
fi; \
- done) \
+ done; \
+ if test $$seen != 0 \
+ && test x$${LD_LIBRARY_PATH} != x; \
+ then \
+ printf ":"; \
+ fi; \
+ printf "%s" "$${LD_LIBRARY_PATH}") \
srcdir=$(srcdir) $(TESTS_ENVIRONMENT) $(srcdir)/inittests
echo timestamp >./inittests.stamp