[SCM] GNU Autoconf source repository branch, master, updated. v2.65-34-g7dbbe56
"Eric Blake" <[email protected]> Thu, 21 Jan 2010 13:39:32 +0000
| Newsgroups | gmane.comp.sysutils.autoconf.cvs |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".
http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=7dbbe5693ded3e2ef3e694810608db9f007460d6
The branch, master has been updated
via 7dbbe5693ded3e2ef3e694810608db9f007460d6 (commit)
from e51c9919f2cf70185b7916ac040bc0bbfd0f743b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7dbbe5693ded3e2ef3e694810608db9f007460d6
Author: Dmitry V. Levin <[email protected]>
Date: Tue Jan 19 19:03:31 2010 +0300
Fix test failure when a shell uses $TMPDIR for here-documents.
* tests/tools.at (autotools and whitespace in file names): Create
$TMPDIR before potential use like in other whitespace tests.
Signed-off-by: Dmitry V. Levin <[email protected]>
Signed-off-by: Eric Blake <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
tests/tools.at | 7 ++++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 70432f8..ec631ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-01-21 Dmitry V. Levin <[email protected]>
+
+ Fix test failure when a shell uses $TMPDIR for here-documents.
+ * tests/tools.at (autotools and whitespace in file names): Create
+ $TMPDIR before potential use like in other whitespace tests.
+
2010-01-20 Paolo Bonzini <[email protected]>
Add recommendation on (not) unsetting IFS.
diff --git a/tests/tools.at b/tests/tools.at
index cea3a0f..d8ac0dc 100644
--- a/tests/tools.at
+++ b/tests/tools.at
@@ -1283,7 +1283,7 @@ export x
rm -f a b
for funny in \
'with funny '\'' $x & #! name ' \
- 'with funny \ '\'' \'\'' " <a >b * ? name '
+ 'with funny \ '\'' \'\'' " <a >b * ? name ' #"
do
funny=`func_sanitize_file_name "$funny"`
file=" file $funny"
@@ -1291,6 +1291,9 @@ do
TMPDIR=" tmp$dir"
export TMPDIR
+ # skip if we cannot create such a file or directory
+ AT_CHECK([mkdir "$dir" "$TMPDIR" && touch "$file.in" || exit 77])
+
cat >"$file.in" <<'END'
[AC_INIT(x,0)
m4@&t@_include([foo.m4])
@@ -1298,8 +1301,6 @@ AC_CONFIG_HEADERS([config.h:config.hin])
AC_MACRO
AC_OUTPUT]
END
- # skip if we cannot create such a file or directory
- AT_CHECK([mkdir "$dir" "$TMPDIR" && test -f "$file.in" || exit 77])
cat >"$dir"/foo.m4 <<'END'
[AC_DEFUN([AC_MACRO], [echo hi])]
END
hooks/post-receive
--
GNU Autoconf source repository