summaryrefslogtreecommitdiffstats
path: root/security/nss/tests/jss_dll_version.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /security/nss/tests/jss_dll_version.sh
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'security/nss/tests/jss_dll_version.sh')
-rwxr-xr-xsecurity/nss/tests/jss_dll_version.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/security/nss/tests/jss_dll_version.sh b/security/nss/tests/jss_dll_version.sh
new file mode 100755
index 0000000000..cb29c4a1ad
--- /dev/null
+++ b/security/nss/tests/jss_dll_version.sh
@@ -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