Move LANG setting to run function, remove useless BINDFILE variable

This commit is contained in:
ZyX 2014-08-27 22:30:59 +04:00
parent fe6cd47bdd
commit e02647560a
1 changed files with 2 additions and 1 deletions

View File

@ -60,6 +60,7 @@ run() {
local additional_prompts=
fi
env -i \
LANG=en_US.UTF-8 \
PATH="$local_path" \
TERM="${TERM}" \
COLUMNS="${COLUMNS}" \
@ -87,7 +88,7 @@ run_test() {
run "${TEST_TYPE}" "${TEST_CLIENT}" "${SH}" \
screen -L -c tests/test_shells/screenrc -d -m -S "$SESNAME" \
env LANG=en_US.UTF-8 BINDFILE="$BINDFILE" "$@"
"$@"
while ! screen -S "$SESNAME" -X readreg a tests/test_shells/input.$SH ; do
sleep 0.1s
done