summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2021-04-05 16:06:24 +0200
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2021-06-24 21:43:17 +0200
commit331817e995b05793ec840476fac67e8f7c638a47 (patch)
treedad182dba9221a0540dd585fba525c3dcfb65c7a /test/scripts
parent368ecb000c58995c5f61443d45d43942f1f431d0 (diff)
testsuite: add 0990 for allow_insecure_tainted_data
(cherry picked from commit 56213337357265eb42c40dd04a22f6ac433b9e81)
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0990-Allow-Tainted-Data/09907
-rw-r--r--test/scripts/0990-Allow-Tainted-Data/REQUIRES1
2 files changed, 8 insertions, 0 deletions
diff --git a/test/scripts/0990-Allow-Tainted-Data/0990 b/test/scripts/0990-Allow-Tainted-Data/0990
new file mode 100644
index 000000000..87cf4c009
--- /dev/null
+++ b/test/scripts/0990-Allow-Tainted-Data/0990
@@ -0,0 +1,7 @@
+# Allow insecure tainted data
+exim -DALLOW_TAINTED=no -f hans@example.com -be
+${lookup{$sender_address_local_part}lsearch{DIR/aux-fixed/0990/$sender_address_domain}{yes}{no}}
+****
+exim -DALLOW_TAINTED=yes -f hans@example.com -be
+${lookup{$sender_address_local_part}lsearch{DIR/aux-fixed/0990/$sender_address_domain}{yes}{no}}
+****
diff --git a/test/scripts/0990-Allow-Tainted-Data/REQUIRES b/test/scripts/0990-Allow-Tainted-Data/REQUIRES
new file mode 100644
index 000000000..5fabbded0
--- /dev/null
+++ b/test/scripts/0990-Allow-Tainted-Data/REQUIRES
@@ -0,0 +1 @@
+feature _OPT_MAIN_ALLOW_INSECURE_TAINTED_DATA