[exim-dev] [Bug 3008] New: string expansion error related to…

Top Page
Delete this message
Reply to this message
Author: Exim Bugzilla
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 3008] New: string expansion error related to ${run (condition name expected, but found "")
https://bugs.exim.org/show_bug.cgi?id=3008

            Bug ID: 3008
           Summary: string expansion error related to ${run (condition
                    name expected, but found "")
           Product: Exim
           Version: 4.96+
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: String expansion
          Assignee: unallocated@???
          Reporter: eximusers@???
                CC: exim-dev@???


Hello,

cfe6acff2ddc broke string expansion in more ways than I thought before.

Test case 1
exim -be '${run{/usr/bin/echo ${quote:aaa}}}'
Worked in 4.95, broken by cfe6acff2ddc, fixed in GIT with
44b6e099b76f403a55e77650821f8a69e9d2682e.

Test case 2
exim -be \
'${run{/usr/bin/false identity ${if def:sender_address_domain
{isdefined}{notdefined}}} {no} {${if eq {$runrc}{1}{yes}{no}}}}'

still fails in GIT head with
8X----------------
Failed: Expansion of "${if" from command "/usr/bin/false identity ${if
def:sender_address_domain {isdefined}{notdefined}}" in ${run} expansion failed:
condition name expected, but found ""
8X----------------

(I have verified that cfe6acff2ddc was the breaking commit).

cu Andreas

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/