mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-14 11:37:53 +00:00
nc -p considered harmful
nmap-ncat has been downgraded on Fedora, to 7.92. nc -l -p PORT requires 7.95. Switch to nc -l ADDR PORT. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
parent
599967bf9f
commit
7100ead475
1 changed files with 1 additions and 1 deletions
|
|
@ -760,7 +760,7 @@ nameserver 8.8.8.8" "nameserver order is correct"
|
|||
cid="$output"
|
||||
|
||||
# make sure binding the same port fails
|
||||
run timeout 5 nc -l -p $port 127.0.0.1
|
||||
run timeout 5 nc -l 127.0.0.1 $port
|
||||
assert "$status" -eq 2 "ncat unexpected exit code"
|
||||
assert "$output" =~ "127.0.0.1:$port: Address already in use" "ncat error message"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue