Skip to content

Commit

Permalink
git p4: Squash P4EDITOR in test harness
Browse files Browse the repository at this point in the history
If P4EDITOR is set in the environment, test behavior could be
unpredictable. Set it explicitly.

Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Luke Diamand authored and Junio C Hamano committed Apr 24, 2012
1 parent c8942a2 commit 1e3e718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/lib-git-p4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ P4DPORT=$((10669 + ($testid - $git_p4_test_start)))

export P4PORT=localhost:$P4DPORT
export P4CLIENT=client
export P4EDITOR=:

db="$TRASH_DIRECTORY/db"
cli="$TRASH_DIRECTORY/cli"
Expand Down

0 comments on commit 1e3e718

Please sign in to comment.