tests/test_wrapper.sh.in: Tweak for running under Wine

Recent versions of Wine from Debian seem to print information
to stdout which was screwing up the tests. Should be able to
remove/improve this when Debian fixes:

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814572
This commit is contained in:
Erik de Castro Lopo 2016-02-13 16:42:38 +11:00
parent 038362813b
commit 39b05b60c2

View File

@ -53,7 +53,7 @@ if test -f libsndfile.so.$LIB_VERSION ; then
fi
fi
sfversion=$(./sfversion@EXEEXT@ | sed "s/-exp$//")
sfversion=$(./sfversion@EXEEXT@ | grep libsndfile | sed "s/-exp$//")
if test "$sfversion" != libsndfile-$PACKAGE_VERSION ; then
echo "Error : sfversion ($sfversion) and PACKAGE_VERSION ($PACKAGE_VERSION) don't match."