Skip to content

Commit 5d5c556

Browse files
vhdagitster
authored andcommitted
git-p4: Clean up branch test cases
Correct submit description in one test and remove not required commands from another. Signed-off-by: Vitor Antunes <[email protected]> Acked-by: Pete Wyckoff <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ad71f66 commit 5d5c556

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

t/t9801-git-p4-branch.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ test_expect_success 'git p4 clone simple branches' '
218218
cd branch1 &&
219219
p4 edit file2 &&
220220
echo file2_ >>file2 &&
221-
p4 submit -d "update file2 in branch3" &&
221+
p4 submit -d "update file2 in branch1" &&
222222
cd "$git" &&
223223
git reset --hard p4/depot/branch1 &&
224224
git p4 rebase &&
@@ -249,8 +249,6 @@ test_expect_success 'git p4 clone simple branches' '
249249
# `- file2
250250
# `- file3
251251
test_expect_success 'git p4 add complex branches' '
252-
test_when_finished cleanup_git &&
253-
test_create_repo "$git" &&
254252
(
255253
cd "$cli" &&
256254
changelist=$(p4 changes -m1 //depot/... | cut -d" " -f2) &&

0 commit comments

Comments
 (0)