src/test/local.test: Set TERM=xterm
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
@@ -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;;
|
||||
|
||||
Reference in New Issue
Block a user