summaryrefslogtreecommitdiffstats
path: root/debian/tests/soSymlinkTest.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:45:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:45:40 +0000
commitb9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e (patch)
tree3cbe7aab712cf5a385e4aa0446b3766b7a17617f /debian/tests/soSymlinkTest.sh
parentAdding upstream version 1:115.7.0. (diff)
downloadthunderbird-b9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e.tar.xz
thunderbird-b9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e.zip
Adding debian version 1:115.7.0-1.debian/1%115.7.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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