diff options
| -rw-r--r-- | test/smtptest.lua | 2 | ||||
| -rw-r--r-- | test/testclnt.lua | 2 | ||||
| -rw-r--r-- | test/utestclnt.lua | 2 |
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 | |||
| 35 | local fail = function(s) | 35 | local 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) |
| 39 | end | 39 | end |
| 40 | 40 | ||
| 41 | local readfile = function(name) | 41 | local 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) |
| 20 | end | 20 | end |
| 21 | 21 | ||
| 22 | function warn(...) | 22 | function 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") |
| 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(...) |
