Fix sed script in install.at.

* tests/install.at (Install tests): Fix typo in sed script,
fixes test failure on HP-UX.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2009-02-01 15:05:37 +01:00
parent 6d08820f7c
commit 5f24ee188d
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2009-02-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2009-02-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix sed script in install.at.
* tests/install.at (Install tests): Fix typo in sed script,
fixes test failure on HP-UX.
Fix $INSTALL in testsuite with relative path to install-sh. Fix $INSTALL in testsuite with relative path to install-sh.
* tests/testsuite.at: If `$INSTALL' points to in-tree * tests/testsuite.at: If `$INSTALL' points to in-tree
install-sh, override a possibly-relative path to it with an install-sh, override a possibly-relative path to it with an

View File

@ -1,6 +1,6 @@
# install.at -- install mode tests -*- Autotest -*- # install.at -- install mode tests -*- Autotest -*-
# #
# Copyright (C) 2008 Free Software Foundation, Inc. # Copyright (C) 2008, 2009 Free Software Foundation, Inc.
# Written by Ralf Wildenhues, 2008 # Written by Ralf Wildenhues, 2008
# #
# This file is part of GNU Libtool. # This file is part of GNU Libtool.
@ -30,7 +30,7 @@ AT_KEYWORDS([libtool])
AT_CHECK([$LIBTOOL --features | grep 'enable shared libraries' || exit 77], AT_CHECK([$LIBTOOL --features | grep 'enable shared libraries' || exit 77],
[], [ignore]) [], [ignore])
sed 's,^\(install_override_mode=\).*,&755,' < $LIBTOOL > ./libtool sed 's,^\(install_override_mode\)=.*,\1=755,' < $LIBTOOL > ./libtool
LIBTOOL=./libtool LIBTOOL=./libtool
chmod a+rx $LIBTOOL chmod a+rx $LIBTOOL