Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t1308: fix broken here document in test script
author
Junio C Hamano
<gitster@pobox.com>
Mon, 13 Oct 2014 22:25:38 +0000
(15:25 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 13 Oct 2014 22:25:42 +0000
(15:25 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1308-config-set.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
4c715eb
)
diff --git
a/t/t1308-config-set.sh
b/t/t1308-config-set.sh
index 7fdf840b0020fb626118d056693b0e6be92bc1ac..243d6120a2d8fb207002e6107993f7f602a55fb5 100755
(executable)
--- a/
t/t1308-config-set.sh
+++ b/
t/t1308-config-set.sh
@@
-23,7
+23,7
@@
check_config () {
}
test_expect_success 'setup default config' '
}
test_expect_success 'setup default config' '
- cat >.git/config <<\EOF
+ cat >.git/config <<
-
\EOF
[case]
penguin = very blue
Movie = BadPhysics
[case]
penguin = very blue
Movie = BadPhysics
@@
-185,7
+185,7
@@
test_expect_success 'proper error on error in default config files' '
cp .git/config .git/config.old &&
test_when_finished "mv .git/config.old .git/config" &&
echo "[" >>.git/config &&
cp .git/config .git/config.old &&
test_when_finished "mv .git/config.old .git/config" &&
echo "[" >>.git/config &&
- echo "fatal: bad config file line 3
5
in .git/config" >expect &&
+ echo "fatal: bad config file line 3
4
in .git/config" >expect &&
test_expect_code 128 test-config get_value foo.bar 2>actual &&
test_cmp expect actual
'
test_expect_code 128 test-config get_value foo.bar 2>actual &&
test_cmp expect actual
'