summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-09-02 08:18:12 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-09-02 08:18:12 +0200
commitf2fc0e036910682c982daaf4cacea328091a4332 (patch)
treee885bd326ef0d0b52c1228357ffcceb4115e8b98
parent786befce766c5e4d9fc6f6e8292570dade734e65 (diff)
downloadlibtool-f2fc0e036910682c982daaf4cacea328091a4332.tar.gz
tests: avoid spurious test failure due to library mode on HP-UX.
* tests/help.at (debug tracing): Use $lt_INSTALL not cp for install mode, the latter will not overwrite an existing library with mode 555. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
-rw-r--r--ChangeLog7
-rw-r--r--tests/help.at2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 63d4b742..c895655b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ tests: avoid spurious test failure due to library mode on HP-UX.
+ * tests/help.at (debug tracing): Use $lt_INSTALL not cp for
+ install mode, the latter will not overwrite an existing library
+ with mode 555.
+
2010-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
tests: avoid spurious pic_flag test failure on HP-UX 10.20.
diff --git a/tests/help.at b/tests/help.at
index c4eaa876..0b60a0db 100644
--- a/tests/help.at
+++ b/tests/help.at
@@ -161,7 +161,7 @@ for trace in '' --debug; do
# Hypothesis: --debug should be passed to relink mode if (and only if)
# it was passed at link mode.
- AT_CHECK([$orig_LIBTOOL --mode=install cp liba.la libb.la $libdir],
+ AT_CHECK([$orig_LIBTOOL --mode=install $lt_INSTALL liba.la libb.la $libdir],
[], [stdout], [stderr])
if grep ': relinking ' stdout stderr; then
if test "X$trace" = X--debug; then