aboutsummaryrefslogtreecommitdiff
path: root/testscripts/run-nxproxy2nxagent-on-localhost
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-12-24 15:51:11 +0100
committerMihai Moldovan <ionic@ionic.de>2017-12-24 15:51:14 +0100
commita0003405b782dfa51bcb171fc077551497b44c69 (patch)
treee768564baccff5cd12a7a0f5945dc223d47c70ed /testscripts/run-nxproxy2nxagent-on-localhost
parent6c7869ab941294dfc9527892310703caba695591 (diff)
downloadnx-libs-a0003405b782dfa51bcb171fc077551497b44c69.tar.gz
nx-libs-a0003405b782dfa51bcb171fc077551497b44c69.tar.bz2
nx-libs-a0003405b782dfa51bcb171fc077551497b44c69.zip
testscripts/run-nxproxy2nx*: drop echo -ne "...\n".
Besides that being a useless construct to begin with, not all shells even support parameters to echo. Nuke that abomination from or^Wthe repository.
Diffstat (limited to 'testscripts/run-nxproxy2nxagent-on-localhost')
-rwxr-xr-xtestscripts/run-nxproxy2nxagent-on-localhost9
1 files changed, 4 insertions, 5 deletions
diff --git a/testscripts/run-nxproxy2nxagent-on-localhost b/testscripts/run-nxproxy2nxagent-on-localhost
index d950ba38a..f06900d9f 100755
--- a/testscripts/run-nxproxy2nxagent-on-localhost
+++ b/testscripts/run-nxproxy2nxagent-on-localhost
@@ -70,7 +70,7 @@ export PATH
# Create the fake cookie for this display.
#
-echo -ne "Creating the X authorization cookie.\n"
+echo "Creating the X authorization cookie."
xauth add ${HOSTNAME}/unix:${NX_PORT} MIT-MAGIC-COOKIE-1 ${NX_COOKIE}
xauth add ${HOSTNAME}:${NX_PORT} MIT-MAGIC-COOKIE-1 ${NX_COOKIE}
@@ -98,7 +98,7 @@ echo "${NX_HOST}:${NX_PORT}" >${NX_ROOT}/C-${NX_PORT}/options
NX_AGENT=:${NX_PORT}
-echo -ne "Running the X client side NX agent.\n"
+echo "Running the X client side NX agent."
SAVED_DISPLAY=$DISPLAY
@@ -132,7 +132,7 @@ NX_HOST=nx/nx,keybd=1,samba=0,cups=0,connect=localhost,cookie=$NX_COOKIE,errors=
echo "${NX_HOST}:${NX_PORT}" >${NX_ROOT}/S-${NX_PORT}/options
-echo -ne "Running the X server side NX proxy.\n"
+echo "Running the X server side NX proxy."
#valgrind -v --num-callers=8 --error-limit=no --trace-children=no \
#valgrind --num-callers=8 --tool=memcheck --leak-check=yes --show-reachable=yes --track-fds=yes \
@@ -140,5 +140,4 @@ echo -ne "Running the X server side NX proxy.\n"
${NXPROXYBIN} -S nx/nx,options=${NX_ROOT}/S-${NX_PORT}/options:${NX_PORT} \
2>>${HOME}/.nx/S-${NX_PORT}/session &
-echo -ne "Session running on display :$NX_PORT.\n"
-
+echo "Session running on display :$NX_PORT."