Skip to content

Commit 1e3e718

Browse files
luked99gitster
authored andcommitted
git p4: Squash P4EDITOR in test harness
If P4EDITOR is set in the environment, test behavior could be unpredictable. Set it explicitly. Signed-off-by: Luke Diamand <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c8942a2 commit 1e3e718

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/lib-git-p4.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ P4DPORT=$((10669 + ($testid - $git_p4_test_start)))
2424

2525
export P4PORT=localhost:$P4DPORT
2626
export P4CLIENT=client
27+
export P4EDITOR=:
2728

2829
db="$TRASH_DIRECTORY/db"
2930
cli="$TRASH_DIRECTORY/cli"

0 commit comments

Comments
 (0)