aboutsummaryrefslogtreecommitdiff
path: root/testscripts/slave-agent
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:23:39 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:23:39 +0200
commit9b94209f53782ecaf7084722ce90836573ceb86b (patch)
tree42354553aeeb29d9490a3120f0c5cd687cbad370 /testscripts/slave-agent
parent91d9218c0cc659f40918af6ac6c035c6c48d2c6d (diff)
parent16f6803f1597788b3bebcfa15e8900d8420b54a4 (diff)
downloadnx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.tar.gz
nx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.tar.bz2
nx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.zip
Merge branch 'uli42-pr/various9' into 3.6.x
Attributes GH PR #1029: https://github.com/ArcticaProject/nx-libs/pull/1029
Diffstat (limited to 'testscripts/slave-agent')
-rwxr-xr-xtestscripts/slave-agent12
1 files changed, 6 insertions, 6 deletions
diff --git a/testscripts/slave-agent b/testscripts/slave-agent
index 2f22c187a..a97e7cfbc 100755
--- a/testscripts/slave-agent
+++ b/testscripts/slave-agent
@@ -32,14 +32,14 @@
# Run:
# nxproxy [...] slave=12000
# nxagent -display nx/nx,options=nxagent.conf # slave=22000 in nxagent.conf
-#
+#
# Where 12000 and 22000 are example TCP ports the program will listen on.
-#
+#
# For ease of debugging and running both sides on a single machine, the script
# reacts to its own name and changes the prompt to "Proxy" if $0 contains
# "proxy", or "Agent" if it contains "agent". This has no other effect.
#
-#
+#
use strict;
use POSIX ":sys_wait_h";
@@ -99,7 +99,7 @@ while(!$EXIT) {
if (!defined $ret) {
die "Read failed: $!";
}
-
+
if (!$ret) {
last;
}
@@ -156,7 +156,7 @@ sub cmd_blkecho {
if ( !defined $ret ) {
die "Error reading from socket: $!";
}
-
+
last if ( $ret == 0 );
$buf .= $tmp;
}
@@ -226,7 +226,7 @@ sub cmd_fastgen {
}
}
-# Output RFC 864 chargen.
+# Output RFC 864 chargen.
# Used to test bandwidth
sub cmd_chargen {
my $text = "";