[Po4a-commits] po4a/testsuite check,1.9,1.10

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Thu Sep 1 19:47:15 UTC 2005


Update of /cvsroot/po4a/po4a/testsuite
In directory haydn:/tmp/cvs-serv303

Modified Files:
	check 
Log Message:
Put the man pages that only consist in a '.so' request to the IGNORE
category rather than PBS.


Index: check
===================================================================
RCS file: /cvsroot/po4a/po4a/testsuite/check,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- check	1 Sep 2005 19:45:30 -0000	1.9
+++ check	1 Sep 2005 19:47:13 -0000	1.10
@@ -187,8 +187,16 @@
       echo ">ign"
       echo $fich >> LISTE.IGN
     else
-      echo ">pbs"
-      echo $fich >> LISTE.PBS
+      l=$(wc -l $tmp/$newfich|cut -d" " -f1)
+      egrep "^.so " $tmp/$newfich 2>&1 > /dev/null
+      if [ "$?" = "0" ] && [ "$l" = "1" ];
+      then
+        echo ">ign"
+        echo $fich >> LISTE.IGN
+      else
+        echo ">pbs"
+        echo $fich >> LISTE.PBS
+      fi
     fi
   fi
   rm -f $tmp/$newfich* $tmp/po4a-normalize.*




More information about the Po4a-commits mailing list