[Lsb-messages] /var/www/bzr/lsb/devel/misc-test r2322: Fix struct tests generation

Denis Silakov denis.silakov at rosalab.ru
Fri Oct 26 05:14:27 UTC 2012


------------------------------------------------------------
revno: 2322
committer: Denis Silakov <denis.silakov at rosalab.ru>
branch nick: misc-test
timestamp: Fri 2012-10-26 09:14:27 +0400
message:
  Fix struct tests generation
modified:
  dynchk/tests/gen_tests.pl
  dynchk/tests/makefile
-------------- next part --------------
=== modified file 'dynchk/tests/gen_tests.pl'
--- a/dynchk/tests/gen_tests.pl	2012-06-26 07:14:59 +0000
+++ b/dynchk/tests/gen_tests.pl	2012-10-26 05:14:27 +0000
@@ -115,10 +115,10 @@
 WHERE Ttype = "Struct"
   AND Theadgroup = HGid
   AND HGheader = Hid
-  AND ( ( (ATappearedin <= \''.$lsbversion.'\' and ATappearedin<>\'\')
+  AND ( ( ATappearedin <= \''.$lsbversion.'\' AND ATappearedin > \'\'
   AND (ATwithdrawnin IS NULL OR ATwithdrawnin >\''.$lsbversion.'\') )
-  OR ( Tsrconly =\'Yes\' ) )
-  AND (Happearedin is not NULL and Happearedin <= \''.$lsbversion.'\' and Happearedin<>\'\')
+  OR Tsrconly =\'Yes\' )
+  AND Happearedin <= \''.$lsbversion.'\' AND Happearedin > \'\'
   AND (Hwithdrawnin IS NULL OR Hwithdrawnin > \''.$lsbversion.'\' )
   AND (ATaid = 1 OR ATaid = '.$ArchId.')
   AND Lname IN ('.$LibList.')

=== modified file 'dynchk/tests/makefile'
--- a/dynchk/tests/makefile	2012-06-28 15:22:44 +0000
+++ b/dynchk/tests/makefile	2012-10-26 05:14:27 +0000
@@ -2,7 +2,7 @@
 Rdaddress.o RWaddress.o filedescriptor.o filemode.o ioctlreq.o pathname.o \
 memmap.o processid.o IPv4Address.o socketfamily.o socketport.o
 
-#include ../libs.mk
+include ../libs.mk
 include struct.mk
 
 TESTS = $(TEST_OBJS) $(STRUCTTESTS)



More information about the lsb-messages mailing list