tests/test-symbols.sh: Fix with --enable-experimental-api

We missed a `--no-filename` for grep with the documentation.

Closes: #875
Approved by: cgwalters
This commit is contained in:
Colin Walters 2017-05-19 11:00:34 -04:00 committed by Atomic Bot
parent 1feda846ef
commit 84d6267b61
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ echo "ok exports"
grep -E -v '(ostree_cmd__private__)|(ostree_fetcher_config_flags_get_type)' found-symbols.txt > expected-documented.txt
echo "Verifying all public symbols are documented:"
grep '^ostree_' ${G_TEST_SRCDIR}/apidoc/ostree-sections.txt $experimental_sections |sort -u > found-documented.txt
grep --no-filename '^ostree_' ${G_TEST_SRCDIR}/apidoc/ostree-sections.txt $experimental_sections |sort -u > found-documented.txt
diff -u expected-documented.txt found-documented.txt
echo 'ok documented symbols'