security/nss/tests/jss_dll_version.sh

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/tests/jss_dll_version.sh	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +# version controll for DLLs
     1.7 +# ToDo: make version parameter or find version from first occurance of 3.x
     1.8 +# make the 3 a variable..., include the header
     1.9 +
    1.10 +for w in `find . -name "libjss3.s[ol]"`
    1.11 +do
    1.12 +        NOWHAT=FALSE
    1.13 +        NOIDENT=FALSE
    1.14 +        echo $w
    1.15 +        what $w | grep JSS || NOWHAT=TRUE
    1.16 +        ident $w | grep JSS || NOIDENT=TRUE
    1.17 +        if [ $NOWHAT = TRUE ]
    1.18 +        then
    1.19 +                echo "ERROR what $w does not contain JSS"
    1.20 +        fi
    1.21 +        if [ $NOIDENT = TRUE ]
    1.22 +        then
    1.23 +                echo "ERROR ident $w does not contain JSS"
    1.24 +        fi
    1.25 +done

mercurial