diff --git a/test/system/505-networking-pasta.bats b/test/system/505-networking-pasta.bats index e3f0e97f8a..1f0ccea20e 100644 --- a/test/system/505-networking-pasta.bats +++ b/test/system/505-networking-pasta.bats @@ -75,7 +75,7 @@ function pasta_test_do() { local xseq="$(echo ${xport} | tr '-' ' ')" else local port=$(random_free_port "" ${address} ${proto}) - local xport="$((port + port_delta))" + local xport="$((port + delta))" local seq="${port} ${port}" local xseq="${xport} ${xport}" fi @@ -99,9 +99,6 @@ function pasta_test_do() { recv="EXEC:md5sum" fi - # socat first address - send="OPEN:${XFER_FILE}" - # and port forwarding configuration for Podman and pasta. # # TODO: Use Podman options once/if @@ -145,7 +142,7 @@ function pasta_test_do() { local connect="${proto_upper}${ip_ver}:[${addr}]:${one_port}" [ "${proto}" = "udp" ] && connect="${connect},shut-null" - (while sleep ${delay} && ! socat -u "${send}" "${connect}"; do : + (while sleep ${delay} && ! socat -u "OPEN:${XFER_FILE}" "${connect}"; do : done) & done @@ -700,9 +697,13 @@ function teardown() { mac="9a:dd:31:ea:92:98" cat >$containersconf <