diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-02-01 13:13:27 +0100 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-04-07 09:45:33 +0200 |
commit | 2f680c0c44778f97c056fb06d60fb03f4cf69c31 (patch) | |
tree | d8343559845483d313ac6a989591766e3543b237 /test | |
parent | c0ebc07afcedf09ec166a31a6e14928c2cd03d26 (diff) |
Add perl_taintmode option
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/3001 | 2 | ||||
-rw-r--r-- | test/confs/3002 | 2 | ||||
-rw-r--r-- | test/confs/3011 | 5 | ||||
-rw-r--r-- | test/confs/3012 | 7 | ||||
-rw-r--r-- | test/scripts/3000-Perl/3011 | 3 | ||||
l--------- | test/scripts/3000-Perl/3012 | 1 | ||||
-rw-r--r-- | test/stdout/3011 | 1 | ||||
-rw-r--r-- | test/stdout/3012 | 1 |
8 files changed, 20 insertions, 2 deletions
diff --git a/test/confs/3001 b/test/confs/3001 index 86ecee108..bc0e7e771 100644 --- a/test/confs/3001 +++ b/test/confs/3001 @@ -1,4 +1,4 @@ -# exim test configuration 0615 +# exim test configuration 3001 exim_path = EXIM_PATH tls_advertise_hosts = spool_directory = DIR/spool diff --git a/test/confs/3002 b/test/confs/3002 index 7962d9734..9b668f002 100644 --- a/test/confs/3002 +++ b/test/confs/3002 @@ -1,4 +1,4 @@ -# exim test configuration 0616 +# exim test configuration 3002 exim_path = EXIM_PATH keep_environment = ^FOO\d : BAR add_environment = ADDED1=added1 : ADDED2=added2 diff --git a/test/confs/3011 b/test/confs/3011 new file mode 100644 index 000000000..f584ff517 --- /dev/null +++ b/test/confs/3011 @@ -0,0 +1,5 @@ +# exim test configuration 3011 +exim_path = EXIM_PATH +tls_advertise_hosts = +spool_directory = DIR/spool +perl_startup = sub taint_flag { ${^TAINT} ? 'ON' : 'OFF' } diff --git a/test/confs/3012 b/test/confs/3012 new file mode 100644 index 000000000..505e49f94 --- /dev/null +++ b/test/confs/3012 @@ -0,0 +1,7 @@ +# exim test configuration 3012 +exim_path = EXIM_PATH +keep_environment = ^FOO\d : BAR +add_environment = ADDED1=added1 : ADDED2=added2 +tls_advertise_hosts = +perl_startup = sub taint_flag { ${^TAINT} ? 'ON' : 'OFF' } +perl_taintmode = yes diff --git a/test/scripts/3000-Perl/3011 b/test/scripts/3000-Perl/3011 new file mode 100644 index 000000000..87b32e7cf --- /dev/null +++ b/test/scripts/3000-Perl/3011 @@ -0,0 +1,3 @@ +# Perl w/o taintmode +exim -be '${perl{taint_flag}}' +**** diff --git a/test/scripts/3000-Perl/3012 b/test/scripts/3000-Perl/3012 new file mode 120000 index 000000000..3ae81fbb2 --- /dev/null +++ b/test/scripts/3000-Perl/3012 @@ -0,0 +1 @@ +3011
\ No newline at end of file diff --git a/test/stdout/3011 b/test/stdout/3011 new file mode 100644 index 000000000..6506cb3d7 --- /dev/null +++ b/test/stdout/3011 @@ -0,0 +1 @@ +OFF diff --git a/test/stdout/3012 b/test/stdout/3012 new file mode 100644 index 000000000..76371f28f --- /dev/null +++ b/test/stdout/3012 @@ -0,0 +1 @@ +ON |