ci: cram: 065-upnp.t: fix random failures in netstat check
Follow-up fix for PPW-454, where one netstat instance in the test was missed. Problem: sometime netstat prints some error log netstat: showing only processes with your user ID Cause: This message can show up when netstat doesn't have correct permissions Solution: redirect stderr to stdout to filter out this message Fixes: PPW-454 Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
This commit is contained in:
parent
72802ce7f5
commit
692e2f967a
@ -41,7 +41,7 @@ Check that miniupnpd is disabled and not running:
|
||||
{}
|
||||
{"amxd-error-code":0}
|
||||
|
||||
$ R "netstat -tulpn | grep miniupnpd"
|
||||
$ R "netstat -tulpn 2>&1 | grep miniupnpd"
|
||||
[1]
|
||||
|
||||
Enable miniupnpd:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user