summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/test.sh b/test.sh
index e14512b..c0668fb 100755
--- a/test.sh
+++ b/test.sh
@@ -8,12 +8,12 @@ test1() {
./udpastcp client localhost 36563 localhost 64109 &
pids="$!"
./udpastcp server localhost 64109 localhost 41465 &
- pids+=" $!"
- ( ( sleep 0.2; echo BBBBBBBB; ) | socat udp6-listen:41465 - ) &
- pids+=" $!"
- ( ( sleep 0.1; echo AAAAAAAA; ) | socat - 'udp-connect:[::1]:36563' ) &
- pids+=" $!"
- sleep 0.3
+ pids="$pids $!"
+ ( ( sleep 0.4; echo BBBBBBBB; ) | socat udp6-listen:41465 - ) &
+ pids="$pids $!"
+ ( ( sleep 0.2; echo AAAAAAAA; ) | socat - 'udp-connect:[::1]:36563' ) &
+ pids="$pids $!"
+ sleep 0.5
)
}