summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Vitor Antunes <vitor.hda@gmail.com>2015-03-28 00:03:02 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-28 08:55:27 -0700
commit83e085a1f92e034ea70416cef3b75db7c0581ff3 (patch)
treeaac87af17a4b2a59e3beb0e4c6745cf8ec2ac8f1
parentt9814: fix misconversion from test $a -o $b to test $a || test $b (diff)
downloadtgif-83e085a1f92e034ea70416cef3b75db7c0581ff3.tar.xz
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>
-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 95f4421f71..efae1436ed 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 &&