summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorRoman Fiedler <roman.fiedler@unparalleled.eu>2023-02-03 20:26:08 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2023-02-03 20:32:30 +0000
commit6d179d5ef22fcdfc4802db3fbb37f88190186367 (patch)
tree2b125ae4049e81cc444f5419085056582637ea37 /test/scripts
parent70069b65a39a7ba73a36fbd95371ff03cde1eb23 (diff)
downloadexim4-6d179d5ef22fcdfc4802db3fbb37f88190186367.tar.gz
Testsuite: testcase for empty-var followed by expansion-op
Supplements: 70069b65a39a
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/063424
1 files changed, 24 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0634 b/test/scripts/0000-Basic/0634
new file mode 100644
index 000000000..cb08a025f
--- /dev/null
+++ b/test/scripts/0000-Basic/0634
@@ -0,0 +1,24 @@
+# Empty variables
+#
+exim -DACL_RCPT='$acl_c_empty' -bh V4NET.0.0.0
+EHLO test1
+MAIL FROM:<CALLER@test.ex>
+RCPT TO:<test1@test.ex>
+QUIT
+****
+# expanson-operator after empty variable
+exim -DACL_RCPT='$acl_c_empty${hexquote:A}' -bh V4NET.0.0.0
+EHLO test2
+MAIL FROM:<CALLER@test.ex>
+RCPT TO:<test2@test.ex>
+QUIT
+****
+# expanson-item after empty variable
+exim -DACL_RCPT='$acl_c_empty${listquote{:}{A}}' -bh V4NET.0.0.0
+EHLO test3
+MAIL FROM:<CALLER@test.ex>
+RCPT TO:<test3@test.ex>
+QUIT
+****
+#
+no_stdout_check