From: Rainer Tammer Date: Sat, 21 Aug 2010 08:02:29 +0000 (+0200) Subject: Avoid issues with AIX resident shared libraries in old testsuite. X-Git-Tag: v2.4~82 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9ee137683c618c9c1f2fedbb4b9e970615dfc99;p=thirdparty%2Flibtool.git Avoid issues with AIX resident shared libraries in old testsuite. * tests/defs.m4sh [aix]: Remove file mode permission for others, so shared libraries are not kept in memory after execution. Fixes failures of repeated mdemo-inst.test with on AIX 5.3. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 2e8aa6256..0d5840f61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-08-21 Rainer Tammer (tiny change) + + Avoid issues with AIX resident shared libraries in old testsuite. + * tests/defs.m4sh [aix]: Remove file mode permission for others, + so shared libraries are not kept in memory after execution. + Fixes failures of repeated mdemo-inst.test with on AIX 5.3. + 2010-08-21 Ralf Wildenhues Skip part of versioning test on AIX. diff --git a/tests/defs.m4sh b/tests/defs.m4sh index 12305555e..183783e9e 100644 --- a/tests/defs.m4sh +++ b/tests/defs.m4sh @@ -130,6 +130,7 @@ func_get_config "objext objdir CC host +host_os host_alias build build_alias" "$LIBTOOL --config" ": fatal" @@ -351,6 +352,15 @@ m4dir=$srcdir/libltdl/m4 auxdir=$srcdir/libltdl/config scripts="$auxdir/ltmain.m4sh $srcdir/libtoolize.m4sh" +# On AIX, shared libraries remain loaded in memory after use if they +# are world-readable, until root issues slibclean. On NFS, this causes +# a testsuite rerun to fail to clean up test group directories. Avoid +# this with a suitable umask. Do not do this on other systems, for +# example HP-UX suffers unless shared libraries are mode 555. +case $host_os in +aix*) umask o-rwx ;; +esac + func_msg "Running $progname" # Local Variables: