autoconf-patches
[Top][All Lists]
Advanced

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

Re: [GNU Autoconf 2.68.147-cca28] testsuite: 100 failed


From: Paul Eggert
Subject: Re: [GNU Autoconf 2.68.147-cca28] testsuite: 100 failed
Date: Sat, 03 Mar 2012 21:42:53 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Thanks, I had already found that independently, and I
fixed that by pushing the following:

tests: port AS_TR_SH and AS_TR_CPP test to Solaris 8 wc
* tests/m4sh.at (AS@&address@hidden and AS@&address@hidden): Do not assume
that "wc -l" outputs only digits; on Solaris 8 it also outputs
blanks and POSIX allows this.
---
 tests/m4sh.at |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/m4sh.at b/tests/m4sh.at
index 9456899..8e9d1fe 100644
--- a/tests/m4sh.at
+++ b/tests/m4sh.at
@@ -1559,9 +1559,10 @@ A_B_C_P__
 
 dnl Check that of the last 6 macros, only 2 needed command substitution.
 dnl This test abuses our knowledge of m4sh internals a bit; oh well.
-AT_CHECK([sed -n '/start here/,$ {
+AT_CHECK([tab='        ' # a single ASCII tab character
+sed -n '/start here/,$ {
 /`.*`/p
-}' script | wc -l], [], [[2
+}' script | wc -l | sed "s/[[ $tab]]//g" ], [], [[2
 ]])
 
 AT_CLEANUP
-- 
1.7.6.5



reply via email to

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