summaryrefslogtreecommitdiff
path: root/t/t5150-request-pull.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-05-07 21:29:50 -0700
committerJunio C Hamano <gitster@pobox.com>2010-05-07 21:30:29 -0700
commit5bab69172fc20bb86b5245bd1ec41c32dae9eaa6 (patch)
tree900596e7a6c614b3818fa07602088555a8a52494 /t/t5150-request-pull.sh
parent50ab6558bf688e15048e189bdaf9174b217e1748 (diff)
downloadgit-5bab69172fc20bb86b5245bd1ec41c32dae9eaa6.tar.gz
t5150: protect backslash with backslash in shell
At least /bin/sh on FreeBSD 8 interprets backslash followed by newline in an unquoted here text as "empty". Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5150-request-pull.sh')
-rw-r--r--t/t5150-request-pull.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5150-request-pull.sh b/t/t5150-request-pull.sh
index 4c7f48a807..8e0425b7ac 100644
--- a/t/t5150-request-pull.sh
+++ b/t/t5150-request-pull.sh
@@ -92,7 +92,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
: diffstat
n
/ [0-9]* files changed/ {
- a\
+ a\\
DIFFSTAT
b
}
@@ -102,7 +102,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
/^[a-zA-Z]* ([0-9]*):\$/ n
/^\$/ N
/^\n[a-zA-Z]* ([0-9]*):\$/! {
- a\
+ a\\
SHORTLOG
D
}