Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
1b9ecf66
Commit
1b9ecf66
authored
Jun 14, 2008
by
Niels Möller
Browse files
New test for x11 forwarding over a gateway.
Rev: src/testsuite/x11-5-test:1.1
parent
08444ef6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/testsuite/x11-5-test
0 → 100755
View file @
1b9ecf66
#! /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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment