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 30, 2023
1 parent 698f348 commit 7ea7048
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 @@ -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([
Expand Down

0 comments on commit 7ea7048

Please sign in to comment.