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

Set $DISPLAY and $LSH_FLAGS at top-level, not just locally for

exec_lsh function.

Rev: src/testsuite/x11-1-test:1.4
parent a98991c5
......@@ -12,6 +12,8 @@ check_x11_support
# For this test, it doesn't matter at all if we have an X-server listening
# FIXME: lshd should require the --x11-forward option
spawn_lshd && DISPLAY=:47 LSH_FLAGS="$LSH_FLAGS --x11" exec_lsh 'test -n "$DISPLAY"' && test_success
spawn_lshd && exec_lsh 'test -n "$DISPLAY"' && test_success
Supports Markdown
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