1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## test.dpatch by Enrico Tassi <gareuselesinge@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: do an os.exit(0) at the very end to skip dlclose
@DPATCH@
diff -urNad trunk~/tests/test.lua trunk/tests/test.lua
--- trunk~/tests/test.lua 2007-10-16 17:42:50.000000000 +0200
+++ trunk/tests/test.lua 2008-01-13 18:12:57.000000000 +0100
@@ -613,3 +613,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
+
|