Merge pull request #994 from edsantiago/safe_netcat
nc (netcat): don't block when run interactively
This commit is contained in:
commit
8c83014476
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ function teardown() {
|
|||
run crioctl ctr start --id "$ctr_id"
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
run nc -w 5 $host_ip 4888
|
||||
run nc -w 5 $host_ip 4888 </dev/null
|
||||
echo "$output"
|
||||
[ "$output" = "crioctl_host" ]
|
||||
[ "$status" -eq 0 ]
|
||||
|
|
Loading…
Reference in a new issue