aboutsummaryrefslogtreecommitdiff
path: root/tests/test_files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_files.sh')
-rwxr-xr-xtests/test_files.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_files.sh b/tests/test_files.sh
index 64d73081..e42af918 100755
--- a/tests/test_files.sh
+++ b/tests/test_files.sh
@@ -35,7 +35,7 @@ fi
EXIT_STATUS=0
have_feature()
{
- grep "define HAVE_$1" ../config.h > /dev/null && return 0
+ grep "define HAVE_$1 1" ../config.h > /dev/null && return 0
printf '%s: Skipping because HAVE_%s is not enabled\n' "$2" "$1"
EXIT_STATUS=77
return 1