aboutsummaryrefslogtreecommitdiff
path: root/test/utestclnt.lua
diff options
context:
space:
mode:
authorcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>2026-08-31 22:22:03 +0000
committerGitHub <noreply@github.com>2026-08-31 22:22:03 +0000
commit69fde6cb9d2259b77ad2b9b3a731c02d8776b6cf (patch)
treec58f0e47544718b07486f22e56a10fafdaa022d0 /test/utestclnt.lua
parentfa9b35a0cf11bc856cbd8bffbef5ad6fb3e62a93 (diff)
downloadluasocket-copilot/check-testfiles-for-os-exit-issues.tar.gz
luasocket-copilot/check-testfiles-for-os-exit-issues.tar.bz2
luasocket-copilot/check-testfiles-for-os-exit-issues.zip
Fix test failure exit statusescopilot/check-testfiles-for-os-exit-issues
Co-authored-by: Tieske <1077043+Tieske@users.noreply.github.com>
Diffstat (limited to 'test/utestclnt.lua')
-rw-r--r--test/utestclnt.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utestclnt.lua b/test/utestclnt.lua
index 395260c..7f74f99 100644
--- a/test/utestclnt.lua
+++ b/test/utestclnt.lua
@@ -12,7 +12,7 @@ function fail(...)
12 local s = string.format(...) 12 local s = string.format(...)
13 io.stderr:write("ERROR: ", s, "!\n") 13 io.stderr:write("ERROR: ", s, "!\n")
14socket.sleep(3) 14socket.sleep(3)
15 os.exit() 15 os.exit(1)
16end 16end
17 17
18function warn(...) 18function warn(...)