security/nss/tests/jss_dll_version.sh

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rwxr-xr-x

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 #!/bin/sh
     3 # version controll for DLLs
     4 # ToDo: make version parameter or find version from first occurance of 3.x
     5 # make the 3 a variable..., include the header
     7 for w in `find . -name "libjss3.s[ol]"`
     8 do
     9         NOWHAT=FALSE
    10         NOIDENT=FALSE
    11         echo $w
    12         what $w | grep JSS || NOWHAT=TRUE
    13         ident $w | grep JSS || NOIDENT=TRUE
    14         if [ $NOWHAT = TRUE ]
    15         then
    16                 echo "ERROR what $w does not contain JSS"
    17         fi
    18         if [ $NOIDENT = TRUE ]
    19         then
    20                 echo "ERROR ident $w does not contain JSS"
    21         fi
    22 done

mercurial