Index: lua-md5-1.1.2/tests/test.lua
===================================================================
--- lua-md5-1.1.2.orig/tests/test.lua	2007-11-28 19:44:27.000000000 +0100
+++ lua-md5-1.1.2/tests/test.lua	2012-04-25 14:44:02.000000000 +0200
@@ -2,6 +2,8 @@
 
 -- Testing MD5
 
+if select(1,...) == 'md5' then
+
 require"md5"
 
 
@@ -79,6 +81,7 @@
 
 print"MD5 OK"
 
+elseif select(1,...) == 'des56' then
 
 -- Testing DES 56
 require 'des56'
@@ -106,4 +109,10 @@
 key = string.sub(ascii, 2)
 assert(des56.decrypt(des56.crypt(ascii, key), key) == ascii)
 
-print"DES56 OK"
\ No newline at end of file
+print"DES56 OK"
+
+else
+
+	error 'Specify an algorithm to test'
+
+end
