Imported Upstream version 3.16.3
[platform/upstream/nss.git] / tests / jss_dll_version.sh
1 #!/bin/sh
2
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
6
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