Move LANG setting to run function, remove useless BINDFILE variable
This commit is contained in:
parent
fe6cd47bdd
commit
e02647560a
|
@ -60,6 +60,7 @@ run() {
|
||||||
local additional_prompts=
|
local additional_prompts=
|
||||||
fi
|
fi
|
||||||
env -i \
|
env -i \
|
||||||
|
LANG=en_US.UTF-8 \
|
||||||
PATH="$local_path" \
|
PATH="$local_path" \
|
||||||
TERM="${TERM}" \
|
TERM="${TERM}" \
|
||||||
COLUMNS="${COLUMNS}" \
|
COLUMNS="${COLUMNS}" \
|
||||||
|
@ -87,7 +88,7 @@ run_test() {
|
||||||
|
|
||||||
run "${TEST_TYPE}" "${TEST_CLIENT}" "${SH}" \
|
run "${TEST_TYPE}" "${TEST_CLIENT}" "${SH}" \
|
||||||
screen -L -c tests/test_shells/screenrc -d -m -S "$SESNAME" \
|
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
|
while ! screen -S "$SESNAME" -X readreg a tests/test_shells/input.$SH ; do
|
||||||
sleep 0.1s
|
sleep 0.1s
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue