summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2022-11-14 14:29:24 +0200
committerMichal Domonkos <mdomonko@redhat.com>2023-03-13 15:32:25 +0100
commitc450a725058914594f67255828cac1a671de1b33 (patch)
treef884bae9f723e1729d77094347798a08281b3769
parent915173b789e8e10b551e64f02ee87077a49a877f (diff)
downloadrpm-c450a725058914594f67255828cac1a671de1b33.tar.gz
Remove unrelated %undefine output from macro scoping test
%undefine output is not what this test is about, it's what happens afterwards. Commit aec8bdb53a3013eabf16368e17a65ab69c2136ee changed what happens in this very context, but then %undefine is not intended to used this way and its output is not what is being tested here, macro scope behavior is. (cherry picked from commit e73c9827a5ad492e6f86d387fa17b1011a09057a)
-rw-r--r--tests/rpmmacro.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rpmmacro.at b/tests/rpmmacro.at
index c4376d49e..ffdbe26e2 100644
--- a/tests/rpmmacro.at
+++ b/tests/rpmmacro.at
@@ -888,7 +888,7 @@ runroot rpm \
--define '%foo() %{expand:%define xxx 1} %{echo:%xxx} %{expand: %global xxx 2} %{echo:%xxx}' \
--eval .'%foo'. \
--eval '%xxx' \
- --eval .'%undefine xxx'. \
+ --eval '%undefine xxx' \
--eval '%xxx'
],
[0],
@@ -896,7 +896,7 @@ runroot rpm \
2
. .
2
-..
+
%xxx
])
AT_CLEANUP