mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
Avoid MacOS readdir bug in testsuite.
* tests/local.at (AC_STATE_SAVE): Avoid spurious failures due to duplicated ls entries. * THANKS: Update. Reported by Bruce Dugan and others. Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
parent
5857d07c98
commit
af7366502f
@ -1,3 +1,11 @@
|
||||
2008-12-02 Eric Blake <ebb9@byu.net>
|
||||
|
||||
Avoid MacOS readdir bug in testsuite.
|
||||
* tests/local.at (AC_STATE_SAVE): Avoid spurious failures due to
|
||||
duplicated ls entries.
|
||||
* THANKS: Update.
|
||||
Reported by Bruce Dugan and others.
|
||||
|
||||
2008-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* lib/autotest/general.m4 (AT_JOB_FIFO_FD): Hide zsh 4.3.4
|
||||
|
1
THANKS
1
THANKS
@ -52,6 +52,7 @@ Brad Walker me@bradmwalker.com
|
||||
Braden McDaniel braden@endoframe.com
|
||||
Bram Moolenaar bram@vim.org
|
||||
Brian Gough bjg@network-theory.co.uk
|
||||
Bruce Dugan bld0401@gmail.com
|
||||
Bruce Korb bkorb@gnu.org
|
||||
Bruce Lilly ?
|
||||
Bruno Haible haible@ilog.fr
|
||||
|
@ -197,9 +197,11 @@ m4_define([AT_CONFIGURE_AC],
|
||||
# confirm that no test modifies variables outside the Autoconf namespace or
|
||||
# leaves temporary files. AT_CONFIG_CMP uses the variable dumps to confirm that
|
||||
# tests have the same side effects regardless of caching.
|
||||
# The sort -u is necessary, since MacOS 10.5 has a bug where readdir can
|
||||
# list a file multiple times in a rapidly changing directory.
|
||||
m4_defun([AC_STATE_SAVE],
|
||||
[(set) 2>&1 | sort >state-env.$][1
|
||||
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
|
||||
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort -u >state-ls.$][1
|
||||
])# AC_STATE_SAVE
|
||||
]])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user