From: Ralf Wildenhues Date: Sat, 19 Apr 2008 16:35:04 +0000 (+0200) Subject: Fix testsuite cleanup warnings on AIX with NFS. X-Git-Tag: v2.2.4~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c8487807a647b3b2f0faff974456a200ad1ebc0e;p=thirdparty%2Flibtool.git Fix testsuite cleanup warnings on AIX with NFS. * tests/testsuite.at [ aix ]: Set file mode creation so that 'others' have no permissions. Shared libraries are kept in memory on AIX after use if they are world-readable, which means on NFS mounts cleanup of test group directories will fail later. * THANKS: Update. Report and analysis by Michael Haubenwallner. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 4c8fb6afb..d3609a96c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2008-04-19 Ralf Wildenhues + Fix testsuite cleanup warnings on AIX with NFS. + * tests/testsuite.at [ aix ]: Set file mode creation so that + 'others' have no permissions. Shared libraries are kept in + memory on AIX after use if they are world-readable, which means + on NFS mounts cleanup of test group directories will fail later. + * THANKS: Update. + Report and analysis by Michael Haubenwallner. + Fix nonportable use of expr. * libltdl/config/ltmain.m4sh (func_mode_link) : Fix expr portability issues, diff --git a/THANKS b/THANKS index 3295b8793..808cef018 100644 --- a/THANKS +++ b/THANKS @@ -108,6 +108,7 @@ Marc Espie espie@nerim.net Marc J. Fraioli fraioli@dg-rtp.dg.com Mark Kettenis kettenis@phys.uva.nl + Michael Haubenwallner michael.haubenwallner@salomon.at Mike Frysinger vapier@gentoo.org Nix nix@esperi.org.uk Olly Betts olly@muscat.co.uk diff --git a/tests/testsuite.at b/tests/testsuite.at index bec76df2e..beca7663d 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -49,6 +49,15 @@ else unset=false fi : ${mkdir_p="$abs_top_srcdir/libltdl/config/install-sh -d"} + +# 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 m4_divert_pop([PREPARE_TESTS])dnl