diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/scripts/0000-Basic/0002 | 5 | ||||
-rw-r--r-- | test/stdout/0002 | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002 index acb308324..9afb556a3 100644 --- a/test/scripts/0000-Basic/0002 +++ b/test/scripts/0000-Basic/0002 @@ -827,6 +827,11 @@ ${if forany{a:b:c}\ ${if ={1}{1} {true}{${if ={1}{1} {true}{${if ={1}{1}{true}fail}}}}} +# Environment access + +${env {USER}} +${env {NO_SUCH_VARIABLE} {oops, success} {correct}} + **** # Test "escape" with print_topbitchars exim -be -DPTBC=print_topbitchars diff --git a/test/stdout/0002 b/test/stdout/0002 index d145e7ec3..9a3219d59 100644 --- a/test/stdout/0002 +++ b/test/stdout/0002 @@ -778,6 +778,11 @@ xyz > > true > +> # Environment access +> +> CALLER +> correct +> > > escape: B7·F2ò > |