summaryrefslogtreecommitdiffstats
path: root/tests/check_liblz4_version.sh
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2022-07-12 16:40:45 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2022-07-12 16:40:45 (GMT)
commit3e2426b198293d1e64de949c40fe0ddc2fb9befb (patch)
tree60b6bb1a4c51e3df17b3806e131f99ff646bb253 /tests/check_liblz4_version.sh
parentaab32f454e0255e6575b062b07042e35b7098d56 (diff)
downloadlz4-3e2426b198293d1e64de949c40fe0ddc2fb9befb.zip
lz4-3e2426b198293d1e64de949c40fe0ddc2fb9befb.tar.gz
lz4-3e2426b198293d1e64de949c40fe0ddc2fb9befb.tar.bz2
write liblz4 dynamic library version
requires liblz4 >= v1.7.5
Diffstat (limited to 'tests/check_liblz4_version.sh')
-rwxr-xr-xtests/check_liblz4_version.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/check_liblz4_version.sh b/tests/check_liblz4_version.sh
new file mode 100755
index 0000000..9304204
--- /dev/null
+++ b/tests/check_liblz4_version.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env sh
+set -e
+
+# written as a script shell, because pipe management in python is horrible
+ldd $1 | grep liblz4
+