summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-12-03 23:13:53 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-12-04 00:07:55 +0000
commit44b6e099b76f403a55e77650821f8a69e9d2682e (patch)
tree3602c491e296f08041849d5ecfe675e8bf0e3c0a /test
parent0da41dc541d0f2536f9d2afc7188e9dfb97b0c09 (diff)
downloadexim4-44b6e099b76f403a55e77650821f8a69e9d2682e.tar.gz
Fix ${run } arg parsing
Broken-by: cfe6acff2ddc
Diffstat (limited to 'test')
-rw-r--r--test/scripts/0000-Basic/00022
-rw-r--r--test/stdout/00022
2 files changed, 4 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index 1efcb2adc..5ddc9b678 100644
--- a/test/scripts/0000-Basic/0002
+++ b/test/scripts/0000-Basic/0002
@@ -808,6 +808,8 @@ ${if eq{1}{2}{${run{/non/exist}}}{1!=2}}
rc=$runrc
${run,preexpand {DIR/aux-fixed/0002.runfile 0}}
rc=$runrc
+${run{DIR/aux-fixed/0002.runfile ${quote:1}}{$value}{2}}
+rc=$runrc
# PRVS
diff --git a/test/stdout/0002 b/test/stdout/0002
index 835d00528..d7e76e6c4 100644
--- a/test/stdout/0002
+++ b/test/stdout/0002
@@ -783,6 +783,8 @@ xyz
1234
> rc=0
+> 2
+> rc=1
>
> # PRVS
>