security/nss/tests/jss_dll_version.sh

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rwxr-xr-x

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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