test/udp-zero-length-send-recv: add missing "socket ="; use shebang "#!/usr/bin/env lua"

master
E. Westbrook 2020-03-28 15:23:51 -06:00 committed by Eric Westbrook
parent a7baf8dc25
commit 743a5f1bcf
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/lua
#!/usr/bin/env lua
--[[
Show that luasocket returns an error message on zero-length UDP sends,
@ -12,7 +12,7 @@ listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
]]
require"socket"
socket = require"socket"
s = assert(socket.udp())
r = assert(socket.udp())