diff options
| author | copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> | 2026-08-31 22:22:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-31 22:22:03 +0000 |
| commit | 69fde6cb9d2259b77ad2b9b3a731c02d8776b6cf (patch) | |
| tree | c58f0e47544718b07486f22e56a10fafdaa022d0 /test/utestclnt.lua | |
| parent | fa9b35a0cf11bc856cbd8bffbef5ad6fb3e62a93 (diff) | |
| download | luasocket-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.lua | 2 |
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") |
| 14 | socket.sleep(3) | 14 | socket.sleep(3) |
| 15 | os.exit() | 15 | os.exit(1) |
| 16 | end | 16 | end |
| 17 | 17 | ||
| 18 | function warn(...) | 18 | function warn(...) |
