t9814: fix broken shell syntax in git-p4 rename test
An update to the tests in 2.1 era introduced a broken case statements that lack closing esac. Signed-off-by: Vitor Antunes <vitor.hda@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
e832f7374b
commit
83e085a1f9
|
@ -180,7 +180,7 @@ test_expect_success 'detect copies' '
|
||||||
case "$src" in
|
case "$src" in
|
||||||
file10 | file11) : ;; # happy
|
file10 | file11) : ;; # happy
|
||||||
*) false ;; # not
|
*) false ;; # not
|
||||||
&&
|
esac &&
|
||||||
git config git-p4.detectCopies $(($level + 2)) &&
|
git config git-p4.detectCopies $(($level + 2)) &&
|
||||||
git p4 submit &&
|
git p4 submit &&
|
||||||
p4 filelog //depot/file12 &&
|
p4 filelog //depot/file12 &&
|
||||||
|
@ -197,7 +197,7 @@ test_expect_success 'detect copies' '
|
||||||
case "$src" in
|
case "$src" in
|
||||||
file10 | file11 | file12) : ;; # happy
|
file10 | file11 | file12) : ;; # happy
|
||||||
*) false ;; # not
|
*) false ;; # not
|
||||||
&&
|
esac &&
|
||||||
git config git-p4.detectCopies $(($level - 2)) &&
|
git config git-p4.detectCopies $(($level - 2)) &&
|
||||||
git p4 submit &&
|
git p4 submit &&
|
||||||
p4 filelog //depot/file13 &&
|
p4 filelog //depot/file13 &&
|
||||||
|
|
Loading…
Reference in New Issue