diff -r 000000000000 -r 6474c204b198 security/nss/tests/jss_dll_version.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/security/nss/tests/jss_dll_version.sh Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,22 @@ +#!/bin/sh + +# version controll for DLLs +# ToDo: make version parameter or find version from first occurance of 3.x +# make the 3 a variable..., include the header + +for w in `find . -name "libjss3.s[ol]"` +do + NOWHAT=FALSE + NOIDENT=FALSE + echo $w + what $w | grep JSS || NOWHAT=TRUE + ident $w | grep JSS || NOIDENT=TRUE + if [ $NOWHAT = TRUE ] + then + echo "ERROR what $w does not contain JSS" + fi + if [ $NOIDENT = TRUE ] + then + echo "ERROR ident $w does not contain JSS" + fi +done