From 5465283ff470e5fbabb1179c90d8a1169fd0dbc6 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 14 Mar 2025 11:11:57 +0100 Subject: [PATCH] tests: code cleanup --- tests/pkgconfig.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/pkgconfig.sh b/tests/pkgconfig.sh index aa8e9af..9bbb8de 100755 --- a/tests/pkgconfig.sh +++ b/tests/pkgconfig.sh @@ -47,14 +47,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