Skip to content

Commit 140db4b

Browse files
committed
refactor: use CREATE insteadof OPEN:...,creat for socat
It's a bit shorter. Stumbled across this randomly in the socat man page. Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
1 parent cf419ef commit 140db4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/functional/test_net.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def test_tap_offload(uvm_any):
108108
# Start a UDP server in the guest
109109
# vm.ssh.check_output(f"nohup socat UDP-LISTEN:{port} - > {out_filename} &")
110110
vm.ssh.check_output(
111-
f"nohup socat UDP4-LISTEN:{port} OPEN:{out_filename},creat > /dev/null 2>&1 &"
111+
f"nohup socat UDP4-LISTEN:{port} CREATE:{out_filename} > /dev/null 2>&1 &"
112112
)
113113

114114
# wait for socat server to spin up

0 commit comments

Comments
 (0)