]> git.pld-linux.org Git - packages/git-core.git/blame - git-core-tests.patch
- fix quoting for ksh
[packages/git-core.git] / git-core-tests.patch
CommitLineData
6b1e62ae
KK
1diff -ur git-1.7.0.3.orig/t/t1304-default-acl.sh git-1.7.0.3/t/t1304-default-acl.sh
2--- git-1.7.0.3.orig/t/t1304-default-acl.sh 2010-03-22 01:35:03.000000000 +0000
3+++ git-1.7.0.3/t/t1304-default-acl.sh 2010-03-23 19:53:49.069813289 +0000
4@@ -9,6 +9,8 @@
5 # => this must come before . ./test-lib.sh
6 umask 077
7
8+LOGNAME=$(whoami)
9+
10 . ./test-lib.sh
11
12 # We need an arbitrary other user give permission to using ACLs. root
27404d38 13
f74aede9
JB
14--- git-1.7.3.2/t/t3701-add-interactive.sh.orig 2010-10-22 05:49:16.000000000 +0200
15+++ git-1.7.3.2/t/t3701-add-interactive.sh 2010-11-18 22:36:35.271101613 +0100
16@@ -83,9 +83,9 @@
17
18 test_expect_success PERL 'setup fake editor' '
19 cat >fake_editor.sh <<EOF
20- EOF
21+EOF
22 chmod a+x fake_editor.sh &&
23- test_set_editor "$(pwd)/fake_editor.sh" &&
24+ test_set_editor "$(pwd)/fake_editor.sh"
25 '
26
27 test_expect_success PERL 'dummy edit works' '
dfd9acaa
KK
28diff --git a/t/t1506-rev-parse-diagnosis.sh b/t/t1506-rev-parse-diagnosis.sh
29index 4a6396f..bad09f9 100755
30--- a/t/t1506-rev-parse-diagnosis.sh
31+++ b/t/t1506-rev-parse-diagnosis.sh
32@@ -8,8 +8,8 @@ exec </dev/null
33
34 test_did_you_mean ()
35 {
36- printf "fatal: Path '$2$3' $4, but not ${5:-'$3'}.\n" >expected &&
37- printf "Did you mean '$1:$2$3'${2:+ aka '$1:./$3'}?\n" >>expected &&
38+ printf "fatal: Path '$2$3' $4, but not ${5:-\'$3\'}.\n" >expected &&
39+ printf "Did you mean '$1:$2$3'${2:+ aka \'$1:./$3\'}?\n" >>expected &&
40 test_cmp expected error
41 }
42
This page took 0.10905 seconds and 4 git commands to generate.