Docs: subsections and direct indexing for lookup types
[exim.git] / test / scripts / 0000-Basic / 0620
index 96d598834dab457036583759abf77e0a9018167a..09587750dccf876c9e26aecb9ae22f6fadbfdefc 100644 (file)
@@ -1,6 +1,18 @@
-# router variables
-exim -odi a
-Subject: foo
-
-body
+# singlekey lookup ret-key
+#
+# baseline, get the data
+exim -d-all+expand -bs '-DOPT=notthis : lsearch;DIR/aux-fixed/TESTNUM.lsearch : nothiseither'
+HELO test
+MAIL FROM:<testclient>
+RCPT TO:<a@trythiskey.ex>
+QUIT
 ****
+#
+# get the key
+exim -d-all+expand -bs '-DOPT=notthis : lsearch,ret=key;DIR/aux-fixed/TESTNUM.lsearch : nothiseither'
+HELO test
+MAIL FROM:<testclient>
+RCPT TO:<a@trythiskey.ex>
+QUIT
+****
+#