Add -lm dependency for gettextlib to fix LTO build
[platform/upstream/gettext.git] / gettext-tools / tests / msggrep-10
1 #! /bin/sh
2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
3
4 # Verify that $ as end-of-line anchor does not cause a crash.
5 # <https://bugzilla.redhat.com/show_bug.cgi?id=483181>
6 # <https://savannah.gnu.org/bugs/?25437>
7
8 : ${MSGGREP=msggrep}
9 echo a=b | LC_MESSAGES=C LC_ALL= ${MSGGREP} -P -K -e '^a$' > /dev/null || exit 1
10
11 exit $result