Skip to content

Commit 6e7b0ea

Browse files
Denton-Lgitster
authored andcommitted
t9834: remove use of test_might_fail p4
The test_must_fail() family of functions (including test_might_fail()) should only be used on git commands. Replace test_might_fail() with a compound command wrapping the old p4 invocation that always returns 0. Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c96050f commit 6e7b0ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t9834-git-p4-file-dir-bug.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository.'
1010

1111
test_expect_success 'start p4d' '
1212
start_p4d &&
13-
test_might_fail p4 configure set submit.collision.check=0
13+
{ p4 configure set submit.collision.check=0 || :; }
1414
'
1515

1616
test_expect_success 'init depot' '

0 commit comments

Comments
 (0)