From a3da8f5cd4b1981eb8e43928866ccc4bb10cfcd0 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 19 Dec 2025 23:14:23 -0800 Subject: [PATCH] tests: add fixtures for whitespace between flag tests Ref: https://github.com/pkgconf/pkgconf/issues/411 Signed-off-by: Ariadne Conill --- Makefile.am | 2 ++ tests/lib1/flag-whitespace-2.pc | 5 +++++ tests/lib1/flag-whitespace.pc | 5 +++++ 3 files changed, 12 insertions(+) create mode 100644 tests/lib1/flag-whitespace-2.pc create mode 100644 tests/lib1/flag-whitespace.pc diff --git a/Makefile.am b/Makefile.am index c2a19c8..b757857 100644 --- a/Makefile.am +++ b/Makefile.am @@ -126,6 +126,8 @@ EXTRA_DIST = pkg.m4 \ tests/lib1/truncated.pc \ tests/lib1/c-comment.pc \ tests/lib1/duplicate-tuple.pc \ + tests/lib1/flag-whitespace.pc \ + tests/lib1/flag-whitespace-2.pc \ tests/lib-sbom/meta_package.pc \ tests/lib-sbom/test1.pc \ tests/lib-sbom/test2.pc \ diff --git a/tests/lib1/flag-whitespace-2.pc b/tests/lib1/flag-whitespace-2.pc new file mode 100644 index 0000000..0b4d98b --- /dev/null +++ b/tests/lib1/flag-whitespace-2.pc @@ -0,0 +1,5 @@ +Name: flag-whitespace-2 +Version: 0 +Description: test case for whitespace between flags +URL: https://github.com/pkgconf/pkgconf +Cflags: -I/includedir diff --git a/tests/lib1/flag-whitespace.pc b/tests/lib1/flag-whitespace.pc new file mode 100644 index 0000000..3da8f10 --- /dev/null +++ b/tests/lib1/flag-whitespace.pc @@ -0,0 +1,5 @@ +Name: flag-whitespace +Version: 0 +Description: test case for whitespace between flags +URL: https://github.com/pkgconf/pkgconf +Cflags: -I /includedir