diff --git a/tests/pkgconfig.sh b/tests/pkgconfig.sh index 3097c06..9c42a9e 100755 --- a/tests/pkgconfig.sh +++ b/tests/pkgconfig.sh @@ -44,14 +44,14 @@ _pkgconfig() return $ret } -_pkgconfig "EXISTS:" --exists "$PACKAGE" || exit 2 +_pkgconfig "EXISTS:" --exists "$PACKAGE" || exit 2 ret=0 -_pkgconfig "VERSION:" --modversion "$PACKAGE" || ret=3 -_pkgconfig "CFLAGS: " --cflags "$PACKAGE" || ret=4 -_pkgconfig "LIBS: " --libs "$PACKAGE" || ret=5 -_pkgconfig "PROVIDES:" --print-provides "$PACKAGE" || ret=6 -_pkgconfig "REQUIRES:" --print-requires "$PACKAGE" || ret=7 +_pkgconfig "VERSION:" --modversion "$PACKAGE" || ret=3 +_pkgconfig "CFLAGS: " --cflags "$PACKAGE" || ret=4 +_pkgconfig "LIBS: " --libs "$PACKAGE" || ret=5 +_pkgconfig "PROVIDES:" --print-provides "$PACKAGE" || ret=6 +_pkgconfig "REQUIRES:" --print-requires "$PACKAGE" || ret=7 exit $ret