Hopefully the final lot of test files.
[users/jgh/exim.git] / test / scripts / 2400-cdb / 2400
diff --git a/test/scripts/2400-cdb/2400 b/test/scripts/2400-cdb/2400
new file mode 100644 (file)
index 0000000..85747a4
--- /dev/null
@@ -0,0 +1,11 @@
+# cdb lookup
+exim -be
+${lookup{first}cdb{DIR/aux-fixed/TESTNUM.cdb}}
+${lookup{first}cdb{DIR/aux-fixed/TESTNUM.cdb}{$value}fail}
+${lookup{fail}cdb{DIR/aux-fixed/TESTNUM.cdb}{$value}{failure value}}
+${lookup{fail}cdb{DIR/aux-fixed/TESTNUM.cdb}{$value}fail}
+${lookup{second}cdb{DIR/aux-fixed/TESTNUM.cdb}{$value}fail}
+${extract{A}{${lookup{second}cdb{DIR/aux-fixed/TESTNUM.cdb}{$value}fail}}}
+${extract{B}{${lookup{second}cdb{DIR/aux-fixed/TESTNUM.cdb}{$value}fail}}}
+${extract{C}{${lookup{second}cdb{DIR/aux-fixed/TESTNUM.cdb}{$value}fail}}{$value}fail}
+****