automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, test-protocols, updated. v1


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, test-protocols, updated. v1.11-969-g2a792eb
Date: Sat, 06 Aug 2011 15:48:05 +0000

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 Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=2a792eb24810033314f675b4e65efbdd9348b706

The branch, test-protocols has been updated
       via  2a792eb24810033314f675b4e65efbdd9348b706 (commit)
      from  a3345817c8806193742307561787d74117f4b35f (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 2a792eb24810033314f675b4e65efbdd9348b706
Author: Stefano Lattarini <address@hidden>
Date:   Sat Aug 6 17:42:38 2011 +0200

    tap: fix whitespace munging of diagnostic messages
    
    * lib/tap-driver (extract_tap_comment): Pass the `g' flag to the
    substitution operator, to strip also trailing whitespaces.  Fixes
    a failure in test `tap-whitespace-normalization.test'.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog      |    7 +++++++
 lib/tap-driver |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b44766c..e07ef47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-08-06  Stefano Lattarini  <address@hidden>
+
+       tap: fix whitespace munging of diagnostic messages
+       * lib/tap-driver (extract_tap_comment): Pass the `g' flag to the
+       substitution operator, to strip also trailing whitespaces.  Fixes
+       a failure in test `tap-whitespace-normalization.test'.
+
 2011-08-05  Stefano Lattarini  <address@hidden>
 
        tap: fix typo in TAP driver version message
diff --git a/lib/tap-driver b/lib/tap-driver
index 91edd1e..d59ae01 100755
--- a/lib/tap-driver
+++ b/lib/tap-driver
@@ -356,7 +356,7 @@ sub extract_tap_comment ($)
   local $_ = shift;
   if (/^\Q$diag_string\E(.*)$/o)
     {
-      (my $comment = $1) =~ s/(?:^\s*|\s*$)//;
+      (my $comment = $1) =~ s/(?:^\s*|\s*$)//g;
       return $comment;
     }
   return "";


hooks/post-receive
-- 
GNU Automake



reply via email to

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