Skip to content

Commit

Permalink
Add test case for macro '%-x**'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhabacker committed Mar 24, 2023
1 parent 1f88268 commit 9e3db2c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/rpmmacro.at
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,18 @@ runroot rpm \
])
AT_CLEANUP

AT_SETUP([parametrized macro 9])
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([
Expand Down

0 comments on commit 9e3db2c

Please sign in to comment.