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

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

mercurial