Commit 1b9ecf66 authored by Niels Möller's avatar Niels Möller
Browse files

New test for x11 forwarding over a gateway.

Rev: src/testsuite/x11-5-test:1.1
parent 08444ef6
#! /bin/sh
echo lshg X11, test 5
if [ -z "$srcdir" ] ; then
srcdir=`pwd`
fi
. $srcdir/functions.sh
need_xvfb
# FIXME: The command DISPLAY= ... is run in a subshell, because
# otherwise, LSHG_FLAGS leaks to the next command (GNU bash
# 3.1.17(1)-release). I don't understand why.
spawn_xvfb \
&& spawn_lshd \
&& spawn_lsh --start-gateway \
&& ( DISPLAY=$TEST_DISPLAY LSHG_FLAGS="$LSHG_FLAGS --x11" exec_lshg xmodmap > /dev/null ) \
&& if exec_lshg xmodmap > /dev/null ; then false : true; fi \
&& test_success
test_done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment