diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2023-03-23 16:57:48 +0100 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2023-03-24 10:22:26 +0200 |
commit | a1bd9f558ee4fa92918107f45b002222c07801b5 (patch) | |
tree | 2439f4d24154554efe1abcc8b4c88809cb6f8bd1 | |
parent | 9deedb8afc700234572ac4f1cb17d77d7968a92f (diff) | |
download | rpm-a1bd9f558ee4fa92918107f45b002222c07801b5.tar.gz |
Add test case for macro '%**'
-rw-r--r-- | tests/rpmmacro.at | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rpmmacro.at b/tests/rpmmacro.at index 22d873e81..03da6db40 100644 --- a/tests/rpmmacro.at +++ b/tests/rpmmacro.at @@ -212,6 +212,18 @@ runroot rpm \ ]) AT_CLEANUP +AT_SETUP([parametrized macro 7]) +AT_KEYWORDS([macros]) +AT_CHECK([ +runroot rpm \ + --define '%foo(zb:) %{**}' \ + --eval '%foo 5 a -z -b2' +], +[0], +[5 a -z -b2 +]) +AT_CLEANUP + AT_SETUP([uncompress macro 1]) AT_KEYWORDS([macros]) AT_CHECK([ |