From 743a5f1bcf92e72df8b0ab36c3dee1f53e7d71c5 Mon Sep 17 00:00:00 2001 From: "E. Westbrook" Date: Sat, 28 Mar 2020 15:23:51 -0600 Subject: [PATCH] test/udp-zero-length-send-recv: add missing "socket ="; use shebang "#!/usr/bin/env lua" --- test/udp-zero-length-send-recv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/udp-zero-length-send-recv b/test/udp-zero-length-send-recv index 541efd4..064ca52 100755 --- a/test/udp-zero-length-send-recv +++ b/test/udp-zero-length-send-recv @@ -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())