packages: git-core/git-core-tests.patch - fix quoting for ksh

draenog draenog at pld-linux.org
Thu May 5 20:48:32 CEST 2011


Author: draenog                      Date: Thu May  5 18:48:32 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix quoting for ksh

---- Files affected:
packages/git-core:
   git-core-tests.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/git-core/git-core-tests.patch
diff -u packages/git-core/git-core-tests.patch:1.3 packages/git-core/git-core-tests.patch:1.4
--- packages/git-core/git-core-tests.patch:1.3	Fri Nov 19 07:29:08 2010
+++ packages/git-core/git-core-tests.patch	Thu May  5 20:48:27 2011
@@ -25,3 +25,18 @@
  '
  
  test_expect_success PERL 'dummy edit works' '
+diff --git a/t/t1506-rev-parse-diagnosis.sh b/t/t1506-rev-parse-diagnosis.sh
+index 4a6396f..bad09f9 100755
+--- a/t/t1506-rev-parse-diagnosis.sh
++++ b/t/t1506-rev-parse-diagnosis.sh
+@@ -8,8 +8,8 @@ exec </dev/null
+ 
+ test_did_you_mean ()
+ {
+-	printf "fatal: Path '$2$3' $4, but not ${5:-'$3'}.\n" >expected &&
+-	printf "Did you mean '$1:$2$3'${2:+ aka '$1:./$3'}?\n" >>expected &&
++	printf "fatal: Path '$2$3' $4, but not ${5:-\'$3\'}.\n" >expected &&
++	printf "Did you mean '$1:$2$3'${2:+ aka \'$1:./$3\'}?\n" >>expected &&
+ 	test_cmp expected error
+ }
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/git-core/git-core-tests.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list