summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest4
-rw-r--r--test/scripts/0000-Basic/00026
-rw-r--r--test/stdout/00026
3 files changed, 14 insertions, 2 deletions
diff --git a/test/runtest b/test/runtest
index aee2697ad..ec1e8280a 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1,6 +1,6 @@
#! /usr/bin/perl -w
-# $Cambridge: exim/test/runtest,v 1.19 2006/11/14 16:40:36 ph10 Exp $
+# $Cambridge: exim/test/runtest,v 1.20 2007/01/08 11:56:41 ph10 Exp $
###############################################################################
# This is the controlling script for the "new" test suite for Exim. It should #
@@ -23,7 +23,7 @@ use Socket;
# Start by initializing some global variables
-$testversion = "4.64 (05-Sep-06)";
+$testversion = "4.66 (08-Jan-07)";
$cf = "bin/cf";
$cr = "\r";
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index 760ffb358..c31b9232f 100644
--- a/test/scripts/0000-Basic/0002
+++ b/test/scripts/0000-Basic/0002
@@ -237,6 +237,12 @@ mask: ${if eq {1}{2}{${mask:invalid}}{NO}}
5>3z: ${if >{5 } {3z }{y}{n}}
5>a: ${if >{ 5 } {a}{y}{n}}
+>0: ${if > {}{0}{y}{n}}
+=: ${if = {}{}{y}{n}}
+-2<: ${if < {-2}{}{y}{n}}
+08>07: ${if > {08}{07}{y}{n}}
+011=11: ${if = {011}{11}{y}{n}}
+
def:y ${if def:tod_log{y}{n}}
def:n ${if def:host{y}{n}}
def:f ${if def:post{y}{n}}
diff --git a/test/stdout/0002 b/test/stdout/0002
index a202d1ebb..a4e6feb2f 100644
--- a/test/stdout/0002
+++ b/test/stdout/0002
@@ -218,6 +218,12 @@
> Failed: invalid integer "3z "
> Failed: integer expected but "a" found
>
+> >0: n
+> =: y
+> -2<: y
+> 08>07: y
+> 011=11: y
+>
> def:y y
> def:n n
> Failed: unknown variable "post" after "def:"