automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] Fix sed-related buglet in test "subdir5.test"


From: Stefano Lattarini
Subject: [FYI] Fix sed-related buglet in test "subdir5.test"
Date: Tue, 21 Dec 2010 02:08:33 +0100
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

The patch below fixes a pontential bug introduced by myself in commit
v1.11-148-gee9fe91 "Modernize and improve test scripts `subdir*.test'."

Applied to maint, merged to master, and pushed.

See "Limitations of Usual Tools" in the autoconf manual for more info
about this sed limitation.

Sorry for the noise,
   Stefano

-*-*-*-

Fix sed-related buglet in test "subdir5.test"

* tests/subdir5.test: Always terminate text passed to the
`i' sed command with a newline, to work around limitations
in e.g. older OpenBSD sed.
---
 ChangeLog          |    7 +++++++
 tests/subdir5.test |    3 ++-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 69286c9..cb4e565 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-12-21  Stefano Lattarini  <address@hidden>
+
+       Fix sed-related buglet in test "subdir5.test"
+       * tests/subdir5.test: Always terminate text passed to the
+       `i' sed command with a newline, to work around limitations
+       in e.g. older OpenBSD sed.
+
 2010-12-18  Stefano Lattarini  <address@hidden>
 
        docs: fix blunder in example about python extension modules
diff --git a/tests/subdir5.test b/tests/subdir5.test
index 6eb3aaa..5633ac6 100755
--- a/tests/subdir5.test
+++ b/tests/subdir5.test
@@ -69,7 +69,8 @@ $MAKE
 
 sed <configure.in >configure.tmp -e '/^AC_OUTPUT$/i\
 AC_CONFIG_FILES([maude/Makefile])\
-m4_include([confile.m4])'
+m4_include([confile.m4])\
+' # last newline required by older OpenBSD sed
 mv -f configure.tmp configure.in
 
 cat configure.in # might be useful for debugging
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]