Fix prediction unicode bug. Make all Cell members private.

Fixes #702.
This commit is contained in:
John Hood
2015-12-21 19:13:43 -05:00
parent 90a529b18a
commit 2ac3bbeb9b
11 changed files with 226 additions and 49 deletions
+9 -3
View File
@@ -96,7 +96,7 @@ mosh_client()
test_error "mosh_client: variables missing\n"
fi
exec 2> "${MOSH_E2E_TEST}.client.stderr"
exec "$MOSH_CLIENT" "$@"
exec "$MOSH_CLIENT" $MOSH_CLIENT_ARGS "$@"
}
mosh_server()
@@ -105,7 +105,7 @@ mosh_server()
test_error "mosh_server: variables missing\n"
fi
exec 2> "${MOSH_E2E_TEST}.server.stderr"
exec "$MOSH_SERVER" new -v -@ "$@"
exec "$MOSH_SERVER" new -v $MOSH_SERVER_ARGS -@ "$@"
}
# main
@@ -176,6 +176,12 @@ for i in $test_args; do
client=1;;
post)
post=1;;
mosh-args)
mosh_args=$(${test_script} mosh-args);;
client-args)
export MOSH_CLIENT_ARGS=$(${test_script} client-args);;
server-args)
export MOSH_SERVER_ARGS=$(${test_script} server-args);;
*)
error "unknown test type argument %s", $i
exit 99
@@ -201,7 +207,7 @@ for run in $server_tests; do
export MOSH_SERVER="$PWD/../frontend/mosh-server"
export MOSH_E2E_TEST="$PWD/${test_dir}/${run}"
# XXX need to quote special chars in server pathname here somehow
sut="../../scripts/mosh --client=${srcdir}/mosh-client --server=${srcdir}/mosh-server --local --bind-server=127.0.0.1 127.0.0.1"
sut="../../scripts/mosh --client=${srcdir}/mosh-client --server=${srcdir}/mosh-server --local --bind-server=127.0.0.1 ${mosh_args} 127.0.0.1"
testarg=$run
if [ "$run" = "direct" ]; then
sut=""