mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
22 lines
385 B
Bash
Executable File
22 lines
385 B
Bash
Executable File
#!/bin/bash
|
|
|
|
[ -z "$LIBCRYPTSETUP_DIR" ] && LIBCRYPTSETUP_DIR=../.libs
|
|
FILE=$LIBCRYPTSETUP_DIR/libcryptsetup.so
|
|
|
|
fail()
|
|
{
|
|
[ -n "$1" ] && echo "$1"
|
|
exit 2
|
|
}
|
|
|
|
skip()
|
|
{
|
|
[ -n "$1" ] && echo "$1"
|
|
exit 77
|
|
}
|
|
|
|
test -d $LIBCRYPTSETUP_DIR || fail "Directory $LIBCRYPTSETUP_DIR is missing."
|
|
test -f $FILE || skip "WARNING: Shared $FILE is missing, test skipped."
|
|
|
|
./all-symbols-test $FILE $@
|