Skip to content

Commit

Permalink
Add test for number of shared object dependencies
Browse files Browse the repository at this point in the history
This has caused problems a few times and is a cheap test to add.
  • Loading branch information
olorin committed Dec 27, 2016
1 parent 34746ad commit 5b76c64
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions zodiac-cli/test/cli/linking/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh -eu

. $(dirname $0)/../core/setup.sh

banner TSRP shared object dependencies
#-------------------------------------

nso="$(objdump -p $TSRP | grep -E '^\s+NEEDED' | wc -l)"
[ "$nso" = "8" ] || exit 10

0 comments on commit 5b76c64

Please sign in to comment.