summaryrefslogtreecommitdiffstats
path: root/debian/tests/icudatfileTest.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/icudatfileTest.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/icudatfileTest.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/tests/icudatfileTest.sh b/debian/tests/icudatfileTest.sh
new file mode 100755
index 0000000000..8e3ec99916
--- /dev/null
+++ b/debian/tests/icudatfileTest.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+TESTFILE=$(basename $0 .sh)
+ICUDATFILE=$(basename /usr/lib/thunderbird/icud*.dat)
+
+if [ -f "/usr/lib/thunderbird/${ICUDATFILE}" ]; then
+ echo "Running tests in ${TESTFILE}"
+
+ echo -n "Test1: Check if /usr/lib/thunderbird/${ICUDATFILE} is linked to /usr/share/thunderbird/${ICUDATFILE}..."
+ if [ "$(readlink -e "/usr/share/thunderbird/${ICUDATFILE}")" = "/usr/lib/thunderbird/${ICUDATFILE}" ]; then
+ echo "done"
+ else
+ echo "No!"
+ exit 1
+ fi
+else
+ echo "Nothing to be done here."
+fi
+
+echo "All Tests in ${TESTFILE} finished succesfully."