From 2f37633b923e0294acd894454a95d2a9ee1d36a9 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 23 Dec 2023 10:41:55 -0500 Subject: Fix pkg-test tests and run from CI --- pkg-test/test-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg-test/test-cli') diff --git a/pkg-test/test-cli b/pkg-test/test-cli index f69e546a..a88f8fb3 100755 --- a/pkg-test/test-cli +++ b/pkg-test/test-cli @@ -11,7 +11,7 @@ if [ ! -d "$TMP" ]; then exit 2 fi -WANTED_VERSION=$(awk -F'"' '/#define QPDF_VERSION / {print $2}' include/qpdf/DLL.h) +WANTED_VERSION=$(awk -F'"' '/# *define QPDF_VERSION / {print $2}' include/qpdf/DLL.h | tail -n 1) qpdf --version | grep -F $WANTED_VERSION qpdf --help -- cgit v1.2.3-54-g00ecf