diff --git a/src/tests/local.test b/src/tests/local.test index db7f0df..1046681 100755 --- a/src/tests/local.test +++ b/src/tests/local.test @@ -1,6 +1,13 @@ #!/bin/sh set -eu -out=$(./inpty ../../scripts/mosh --client="../frontend/mosh-client" --server="$PWD/../frontend/mosh-server" --local --bind-server=127.0.0.1 127.0.0.1 -- printf 'he%s\n' llo) +out=$( + TERM=xterm \ + ./inpty \ + ../../scripts/mosh \ + --client="../frontend/mosh-client" \ + --server="$PWD/../frontend/mosh-server" \ + --local --bind-server=127.0.0.1 127.0.0.1 \ + -- printf 'he%s\n' llo) case "$out" in *hello*) exit 0;; *) exit 1;;