aboutsummaryrefslogtreecommitdiff
path: root/testscripts/slave-agent
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-11-18 23:21:03 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:20:56 +0200
commit446a8ad697ee29f5dcf9a7e4af03a42902b8c146 (patch)
treef2708d9baa61a0812c81f1045e8c4a53b7a32ff7 /testscripts/slave-agent
parentb40d0b1aa1ba525a6c8ee225500ff81bdced04dc (diff)
downloadnx-libs-446a8ad697ee29f5dcf9a7e4af03a42902b8c146.tar.gz
nx-libs-446a8ad697ee29f5dcf9a7e4af03a42902b8c146.tar.bz2
nx-libs-446a8ad697ee29f5dcf9a7e4af03a42902b8c146.zip
testscripts: whitespace fixes
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 = "";