diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 08:06:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 08:06:26 +0000 |
commit | 1660d4b7a65d9ad2ce0deaa19d35579ca4084ac5 (patch) | |
tree | 6cf8220b628ebd2ccfc1375dd6516c6996e9abcc /tests/run-all-symbols | |
parent | Initial commit. (diff) | |
download | cryptsetup-1660d4b7a65d9ad2ce0deaa19d35579ca4084ac5.tar.xz cryptsetup-1660d4b7a65d9ad2ce0deaa19d35579ca4084ac5.zip |
Adding upstream version 2:2.6.1.upstream/2%2.6.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/run-all-symbols')
-rwxr-xr-x | tests/run-all-symbols | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/run-all-symbols b/tests/run-all-symbols new file mode 100755 index 0000000..775d5bb --- /dev/null +++ b/tests/run-all-symbols @@ -0,0 +1,21 @@ +#!/bin/bash + +DIR=../.libs +FILE=$DIR/libcryptsetup.so + +function fail() +{ + [ -n "$1" ] && echo "$1" + exit 2 +} + +function skip() +{ + [ -n "$1" ] && echo "$1" + exit 77 +} + +test -d $DIR || fail "Directory $DIR is missing." +test -f $FILE || skip "WARNING: Shared $FILE is missing, test skipped." + +./all-symbols-test $FILE $@ |