Author: Enrico Tassi <gareuselesinge@debian.org>
Description: do an os.exit(0) at the very end to skip dlclose
--- lua-sql-2.2.0~rc1.orig/tests/test.lua
+++ lua-sql-2.2.0~rc1/tests/test.lua
@@ -614,3 +614,11 @@
 	io.write (" OK !\n")
 end
 
+p = io.popen('dpkg-architecture -qDEB_HOST_ARCH','r')
+d = p:read('*all')
+if d == 'hppa\n' then
+        -- on hppa dlclose fails
+	print("We are running on hppa, dlclose skipped")
+        os.exit(0)
+end
+
