]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t9814: fix broken shell syntax in git-p4 rename test
authorVitor Antunes <vitor.hda@gmail.com>
Sat, 28 Mar 2015 00:03:02 +0000 (00:03 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Mar 2015 15:55:27 +0000 (08:55 -0700)
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>
t/t9814-git-p4-rename.sh

index 95f4421f71a09449297f4de75220c22c6361ac9c..efae1436ed36c3d9499150eb169b326604b7008a 100755 (executable)
@@ -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 &&