summaryrefslogtreecommitdiff
path: root/t/t9814-git-p4-rename.sh
diff options
context:
space:
mode:
authorVitor Antunes <vitor.hda@gmail.com>2015-03-28 00:03:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-28 15:55:27 (GMT)
commit83e085a1f92e034ea70416cef3b75db7c0581ff3 (patch)
treeaac87af17a4b2a59e3beb0e4c6745cf8ec2ac8f1 /t/t9814-git-p4-rename.sh
parente832f7374b66d6d8a25eaab31f87c1ab3cc2d207 (diff)
downloadgit-83e085a1f92e034ea70416cef3b75db7c0581ff3.zip
git-83e085a1f92e034ea70416cef3b75db7c0581ff3.tar.gz
git-83e085a1f92e034ea70416cef3b75db7c0581ff3.tar.bz2
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>
Diffstat (limited to 't/t9814-git-p4-rename.sh')
-rwxr-xr-xt/t9814-git-p4-rename.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t9814-git-p4-rename.sh b/t/t9814-git-p4-rename.sh
index 95f4421..efae143 100755
--- a/t/t9814-git-p4-rename.sh
+++ b/t/t9814-git-p4-rename.sh
@@ -180,7 +180,7 @@ test_expect_success 'detect copies' '
case "$src" in
file10 | file11) : ;; # happy
*) false ;; # not
- &&
+ esac &&
git config git-p4.detectCopies $(($level + 2)) &&
git p4 submit &&
p4 filelog //depot/file12 &&
@@ -197,7 +197,7 @@ test_expect_success 'detect copies' '
case "$src" in
file10 | file11 | file12) : ;; # happy
*) false ;; # not
- &&
+ esac &&
git config git-p4.detectCopies $(($level - 2)) &&
git p4 submit &&
p4 filelog //depot/file13 &&