summaryrefslogtreecommitdiff
path: root/security/nss/tests/jss_dll_version.sh
blob: cb29c4a1ad5858128140a795f09f346815af28ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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