Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 7994603

Browse files
kaitohgitster
authored andcommitted
git p4 test: sanitize P4CHARSET
In the tests, p4d is started without using "internationalized mode". Make sure this environment variable is unset, otherwise a mis-matched user setting would break the tests. The error message would be "Unicode clients require a unicode enabled server." [pw: use unset, add commit text] Signed-off-by: Kazuki Saitoh <[email protected]> Signed-off-by: Pete Wyckoff <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 96cb27a commit 7994603

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/lib-git-p4.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ P4DPORT=$((10669 + ($testid - $git_p4_test_start)))
4848
P4PORT=localhost:$P4DPORT
4949
P4CLIENT=client
5050
P4EDITOR=:
51-
export P4PORT P4CLIENT P4EDITOR
51+
unset P4CHARSET
52+
export P4PORT P4CLIENT P4EDITOR P4CHARSET
5253

5354
db="$TRASH_DIRECTORY/db"
5455
cli="$TRASH_DIRECTORY/cli"

0 commit comments

Comments
 (0)