Skip to content

Commit 83e085a

Browse files
vhdagitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e832f73 commit 83e085a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t9814-git-p4-rename.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ test_expect_success 'detect copies' '
180180
case "$src" in
181181
file10 | file11) : ;; # happy
182182
*) false ;; # not
183-
&&
183+
esac &&
184184
git config git-p4.detectCopies $(($level + 2)) &&
185185
git p4 submit &&
186186
p4 filelog //depot/file12 &&
@@ -197,7 +197,7 @@ test_expect_success 'detect copies' '
197197
case "$src" in
198198
file10 | file11 | file12) : ;; # happy
199199
*) false ;; # not
200-
&&
200+
esac &&
201201
git config git-p4.detectCopies $(($level - 2)) &&
202202
git p4 submit &&
203203
p4 filelog //depot/file13 &&

0 commit comments

Comments
 (0)