From f2fc0e036910682c982daaf4cacea328091a4332 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Thu, 2 Sep 2010 08:18:12 +0200 Subject: 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 --- ChangeLog | 7 +++++++ tests/help.at | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 63d4b742..c895655b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-09-02 Ralf Wildenhues + + 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 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 -- cgit v1.2.1