SF.net SVN: gar:[22320] csw/mgar/pkg/git/trunk/files/ 0007-Avoid-difference-in-tr-semantics-between-System-V-an.patch
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sun Oct 27 16:28:31 CET 2013
Revision: 22320
http://gar.svn.sourceforge.net/gar/?rev=22320&view=rev
Author: bdwalton
Date: 2013-10-27 15:28:31 +0000 (Sun, 27 Oct 2013)
Log Message:
-----------
git/trunk: update an existing patch
Modified Paths:
--------------
csw/mgar/pkg/git/trunk/files/0007-Avoid-difference-in-tr-semantics-between-System-V-an.patch
Modified: csw/mgar/pkg/git/trunk/files/0007-Avoid-difference-in-tr-semantics-between-System-V-an.patch
===================================================================
--- csw/mgar/pkg/git/trunk/files/0007-Avoid-difference-in-tr-semantics-between-System-V-an.patch 2013-10-27 14:31:03 UTC (rev 22319)
+++ csw/mgar/pkg/git/trunk/files/0007-Avoid-difference-in-tr-semantics-between-System-V-an.patch 2013-10-27 15:28:31 UTC (rev 22320)
@@ -1,6 +1,6 @@
-From b1ceadb4298a86763b059ac5c9136f4a7e9bb6f2 Mon Sep 17 00:00:00 2001
+From 667867e20bbc4cdc0d0946e62cb4b8a9eca82134 Mon Sep 17 00:00:00 2001
From: Ben Walton <bwalton at opencsw.org>
-Date: Sun, 28 Jul 2013 14:09:19 +0200
+Date: Sun, 27 Oct 2013 13:30:26 +0100
Subject: [PATCH] Avoid difference in tr semantics between System V and BSD
Solaris' tr (both /usr/bin/ and /usr/xpg4/bin) uses the System V
@@ -25,13 +25,13 @@
broken_c_unquote. Replace the other two identical transforms with a
fuction named broken_c_unquote_verbose.
-Signed-off-by: Ben Walton <bdwalton at gmail.com>
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
---
t/t0008-ignores.sh | 30 ++++++++++++++++++------------
1 file changed, 18 insertions(+), 12 deletions(-)
diff --git a/t/t0008-ignores.sh b/t/t0008-ignores.sh
-index 9c1bde1..e455eb4 100755
+index c29342d..b176057 100755
--- a/t/t0008-ignores.sh
+++ b/t/t0008-ignores.sh
@@ -37,6 +37,14 @@ test_stderr () {
@@ -49,7 +49,7 @@
stderr_contains () {
regexp="$1"
if grep "$regexp" "$HOME/stderr"
-@@ -517,12 +525,11 @@ cat <<-EOF >expected-verbose
+@@ -552,12 +560,11 @@ cat <<-EOF >expected-verbose
$global_excludes:2:!globaltwo b/globaltwo
EOF
@@ -67,9 +67,9 @@
test_expect_success '--stdin' '
expect_from_stdin <expected-default &&
-@@ -606,12 +613,11 @@ cat <<-EOF >expected-verbose
- $global_excludes:2:!globaltwo ../b/globaltwo
- EOF
+@@ -638,12 +645,11 @@ EOF
+ grep -v '^:: ' expected-all >expected-verbose
+ sed -e 's/.* //' expected-verbose >expected-default
-sed -e 's/^"//' -e 's/\\//' -e 's/"$//' stdin | \
- tr "\n" "\0" >stdin0
@@ -86,5 +86,5 @@
test_expect_success '--stdin from subdirectory' '
expect_from_stdin <expected-default &&
--
-1.8.3.1
+1.8.3.4
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list