summaryrefslogtreecommitdiffstats
path: root/debian/tests/soSymlinkTest.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:33:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:33:31 +0000
commita820a96849e295d4abc6238a01c650bf3663b774 (patch)
treebcebc68af266bfcc779f699ad3d5eeb05b067216 /debian/tests/soSymlinkTest.sh
parentAdding upstream version 1:115.7.0. (diff)
downloadthunderbird-a820a96849e295d4abc6238a01c650bf3663b774.tar.xz
thunderbird-a820a96849e295d4abc6238a01c650bf3663b774.zip
Adding debian version 1:115.7.0-1~deb12u1.debian/1%115.7.0-1_deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/soSymlinkTest.sh')
-rwxr-xr-xdebian/tests/soSymlinkTest.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/tests/soSymlinkTest.sh b/debian/tests/soSymlinkTest.sh
new file mode 100755
index 0000000000..972f6289c7
--- /dev/null
+++ b/debian/tests/soSymlinkTest.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+FAIL=0
+
+echo "Check for symlinked .so files in dev package..."
+
+for SOFILE in `ls /usr/lib/thunderbird-devel/sdk/lib/*.so`; do
+ if [ ! -L ${SOFILE} ]; then
+ echo ${SOFILE} is not a symlink!
+ FAIL=1
+ fi
+done
+
+echo -n "Test result is "
+if [ ${FAIL} -eq 0 ]; then
+ echo "done."
+else
+ echo "FAILED!"
+ exit 1
+fi