aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/smtptest.lua2
-rw-r--r--test/testclnt.lua2
-rw-r--r--test/utestclnt.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/smtptest.lua b/test/smtptest.lua
index 9d06054..e04dea6 100644
--- a/test/smtptest.lua
+++ b/test/smtptest.lua
@@ -35,7 +35,7 @@ end
35local fail = function(s) 35local fail = function(s)
36 s = s or "failed!" 36 s = s or "failed!"
37 print(s) 37 print(s)
38 os.exit() 38 os.exit(1)
39end 39end
40 40
41local readfile = function(name) 41local readfile = function(name)
diff --git a/test/testclnt.lua b/test/testclnt.lua
index bbe48bb..ae97204 100644
--- a/test/testclnt.lua
+++ b/test/testclnt.lua
@@ -16,7 +16,7 @@ function fail(...)
16 io.stderr:write("ERROR: ") 16 io.stderr:write("ERROR: ")
17 printf(...) 17 printf(...)
18 io.stderr:write("!\n") 18 io.stderr:write("!\n")
19 os.exit() 19 os.exit(1)
20end 20end
21 21
22function warn(...) 22function warn(...)
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(...)