From 7ea7048c9ba1d800dcace3ea2d4bbec4ab459abe Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Thu, 30 Mar 2023 11:54:36 +0200 Subject: [PATCH] Add test case for macro '%-x**' --- tests/rpmmacro.at | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/rpmmacro.at b/tests/rpmmacro.at index 03da6db402..e17369fac5 100644 --- a/tests/rpmmacro.at +++ b/tests/rpmmacro.at @@ -224,6 +224,18 @@ runroot rpm \ ]) AT_CLEANUP +AT_SETUP([parametrized macro 8]) +AT_KEYWORDS([macros]) +AT_CHECK([ +runroot rpm \ + --define '%foo(b:c) %{-b**}' \ + --eval '%foo 5 a -b2 -bd=1 -c -b e=2' +], +[0], +[-b2 -bd=1 -b e=2 +]) +AT_CLEANUP + AT_SETUP([uncompress macro 1]) AT_KEYWORDS([macros]) AT_CHECK([