Skip to content

Commit 2cce675

Browse files
luked99gitster
authored andcommitted
git-p4: fix small bug in locked test scripts
Test script t9816-git-p4-locked.sh test #4 tests for adding a file that is locked by Perforce automatically. This is currently not supported by git-p4 and so is expected to fail. However, a small typo meant it always failed, even with a fixed git-p4. Fix the typo to resolve this. Signed-off-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 6ae0d97 commit 2cce675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t9816-git-p4-locked.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test_expect_failure 'add with lock not taken' '
4141
(
4242
cd "$git" &&
4343
echo line1 >>add-lock-not-taken &&
44-
git add file2 &&
44+
git add add-lock-not-taken &&
4545
git commit -m "add add-lock-not-taken" &&
4646
git config git-p4.skipSubmitEdit true &&
4747
git p4 submit --verbose

0 commit comments

Comments
 (0)