main.lua

changeset 35
90219526e942
parent 30
3c2489e79074
child 46
d711bf1e9979
--- a/main.lua	Tue Sep 22 12:16:26 2015 +0200
+++ b/main.lua	Tue Sep 22 22:36:25 2015 +0200
@@ -82,8 +82,11 @@
 
 if not ok then
 	print("TEST ERROR:", result);
+	os.exit(2);
 elseif not result then
 	print("TEST FAILED", err);
+	os.exit(1);
 else
 	print("TEST PASSED");
+	os.exit(0);
 end

mercurial