tests: Fix comparison for osx

This commit is contained in:
Jakub Jelen 2021-04-06 13:10:48 +02:00 committed by Jakub Jelen
parent cae5c71f90
commit ef17b3fb89
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ ERRORS=0
for E in $EXPORTS; do
DUPES=`sort $E | uniq -d`
NUM_DUPES=`echo -n "$DUPES" | wc -l`
if [[ "$NUM_DUPES" != 0 ]]; then
if [ $NUM_DUPES -gt 0 ]; then
echo "There are $NUM_DUPES duplicate symbols in '$E': $DUPES"
ERRORS=1
fi