diff options
author | Eric Biggers <ebiggers@google.com> | 2020-10-21 10:58:41 -0700 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2020-10-21 11:12:34 -0700 |
commit | 3967abf40918991b7e5cc486c7b1d9f1340316a1 (patch) | |
tree | 129b40f2d760576430e8cb1300cd1d67598d3450 | |
parent | 50d51d8618c2d52844ef1d2da263ecda3067a5ee (diff) | |
download | fsverity-utils-3967abf40918991b7e5cc486c7b1d9f1340316a1.tar.gz |
run-tests.sh: test 'make check' with USE_SHARED_LIB=1
Signed-off-by: Eric Biggers <ebiggers@google.com>
-rwxr-xr-x | scripts/run-tests.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index c061e34..7b044bd 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -51,11 +51,10 @@ if nm libfsverity.a | grep ' T ' | grep -v " libfsverity_"; then fi log "Build and test with dynamic linking" -$MAKE USE_SHARED_LIB=1 +$MAKE USE_SHARED_LIB=1 check if ! ldd fsverity | grep libfsverity.so; then fail "fsverity binary should be dynamically linked to libfsverity when USE_SHARED_LIB=1" fi -LD_LIBRARY_PATH="." ./fsverity --version log "Check that all exported symbols are prefixed with \"libfsverity_\"" if nm libfsverity.so | grep ' T ' | grep -v " libfsverity_"; then |