Skip to content
GitLab
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
bb23ae6a
Commit
bb23ae6a
authored
Feb 12, 2009
by
Niels Möller
Browse files
Use lshg, and also check that the X-forwarding is removed properly.
Rev: src/testsuite/x11-2-test:1.5
parent
fceebf81
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/testsuite/x11-2-test
View file @
bb23ae6a
#! /bin/sh
echo
lsh
d
X11,
test
2
echo
lsh X11,
test
2
if
[
-z
"
$srcdir
"
]
;
then
srcdir
=
`
pwd
`
...
...
@@ -10,8 +10,16 @@ fi
need_xvfb
spawn_lshd
&&
spawn_xvfb
\
&&
DISPLAY
=
$TEST_DISPLAY
LSH_FLAGS
=
"
$LSH_FLAGS
--x11"
exec_lsh xmodmap
>
/dev/null
\
DISPLAY
=
$TEST_DISPLAY
export
DISPLAY
# Passing variables to an invocation of a shell function seems
# somewhat flaky, hence the sub-process.
spawn_xvfb
\
&&
spawn_lshd
\
&&
spawn_lsh
--start-gateway
\
&&
(
LSHG_FLAGS
=
"
$LSHG_FLAGS
--x11"
;
exec_lshg xmodmap
>
/dev/null
)
\
&&
if
exec_lshg xmodmap
>
/dev/null
;
then
false
;
else
true
;
fi
\
&&
test_success
test_done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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