File: test.patch

package info (click to toggle)
lua-sql 2.3.0-1%2Bbuild0
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 704 kB
  • sloc: ansic: 3,662; java: 123; makefile: 49; xml: 38
file content (16 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
+