From: Ralf Wildenhues Date: Thu, 2 Sep 2010 06:18:12 +0000 (+0200) Subject: tests: avoid spurious test failure due to library mode on HP-UX. X-Git-Tag: v2.4~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2fc0e036910682c982daaf4cacea328091a4332;p=thirdparty%2Flibtool.git 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 --- diff --git a/ChangeLog b/ChangeLog index 63d4b742b..c895655bd 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 c4eaa8765..0b60a0db3 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