tests/jss_dll_version.sh
author Tim Taubert <ttaubert@mozilla.com>
Wed, 17 Feb 2016 23:44:12 +0100
changeset 11901 458ac5f53544f9228ca9dca0d9b87bd6228b0e54
parent 10685 6c43fe3ab5dd41803bbd6705979f73275d7668f6
permissions -rwxr-xr-x
Bug 1247278 - Determine keaKeyBits correctly for NSS_ECC_MORE_THAN_SUITE_B=1 r=ekr

#!/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