projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a basic test case for git send-email, and fix some real bugs discovered.
[git.git]
/
t
/
t1300-repo-config.sh
diff --git
a/t/t1300-repo-config.sh
b/t/t1300-repo-config.sh
index
7090ea9
..
8260d57
100755
(executable)
--- a/
t/t1300-repo-config.sh
+++ b/
t/t1300-repo-config.sh
@@
-229,7
+229,7
@@
test_expect_failure 'invalid key' 'git-repo-config inval.2key blabla'
test_expect_success 'correct key' 'git-repo-config 123456.a123 987'
test_expect_success 'hierarchical section' \
test_expect_success 'correct key' 'git-repo-config 123456.a123 987'
test_expect_success 'hierarchical section' \
- 'git-repo-config
1.2.3.a
lpha beta'
+ 'git-repo-config
Version.1.2.3eX.A
lpha beta'
cat > expect << EOF
[beta] ; silly comment # another comment
cat > expect << EOF
[beta] ; silly comment # another comment
@@
-241,8
+241,8
@@
noIndent= sillyValue ; 'nother silly comment
NoNewLine = wow2 for me
[123456]
a123 = 987
NoNewLine = wow2 for me
[123456]
a123 = 987
-[
1.2.3
]
-
a
lpha = beta
+[
Version "1.2.3eX"
]
+
A
lpha = beta
EOF
test_expect_success 'hierarchical section value' 'cmp .git/config expect'
EOF
test_expect_success 'hierarchical section value' 'cmp .git/config expect'
@@
-251,7
+251,7
@@
cat > expect << EOF
beta.noindent=sillyValue
nextsection.nonewline=wow2 for me
123456.a123=987
beta.noindent=sillyValue
nextsection.nonewline=wow2 for me
123456.a123=987
-
1.2.3
.alpha=beta
+
version.1.2.3eX
.alpha=beta
EOF
test_expect_success 'working --list' \
EOF
test_expect_success 'working --list' \