summaryrefslogtreecommitdiffstats
path: root/debian/tests/soSymlinkTest.sh
diff options
context:
space:
mode:
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