X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=test%2FREADME;h=c1398329df67b430aeac93bf4c08eabe009c92ba;hp=43d641375f2d6ddf935ccb2581dc491d5d4a93b6;hb=eeeda78a3b06864a1641ce9b7260d4acdb5ee78e;hpb=cfc5483092684ed5775a8e0d9b3071ee2c37780c diff --git a/test/README b/test/README index 43d641375..c1398329d 100644 --- a/test/README +++ b/test/README @@ -1,12 +1,12 @@ -$Cambridge: exim/test/README,v 1.5 2006/10/31 11:37:47 ph10 Exp $ +$Cambridge: exim/test/README,v 1.8 2007/02/20 15:58:02 ph10 Exp $ EXPORTABLE EXIM TEST SUITE -------------------------- This document last updated for: -Test Suite Version: 4.64 -Date: 31 October 2006 +Test Suite Version: 4.67 +Date: 20 February 2007 BACKGROUND @@ -436,7 +436,11 @@ bin/iefbr14 A program that does nothing, and returns 0. It's just like bin/loaded Some dynamically loaded functions for testing dlfunc support. -bin/server A script-driven SMTP server simulation. +bin/mtpscript A script-driven SMTP/LMTP server simulation, on std{in,out}. + +bin/server A script-driven SMTP server simulation, over a socket. + +bin/showids Output the current uid, gid, euid, egid. The runtest script also makes use of a number of ordinary commands such as "cp", "kill", "more", and "rm", via the system() call. In some cases these are @@ -633,6 +637,12 @@ The file remains locked with the following command (normally exim) is obeyed. This command runs the exinext utility with the given argument data. + exigrep + +This command runs the exigrep utility with the given data (the search pattern) +on the current mainlog file. + + gnutls This command is present at the start of all but one of the tests that use @@ -755,9 +765,12 @@ as well as to the named file. This command runs the auxiliary "client" program that simulates an SMTP client. It is controlled by a script read from its standard input, details of which are -given below. The only option is -t, which must be followed by a number, to -specify the command timeout in seconds. The program connects to the given IP -address and port, using the specified interface, if one is given. +given below. There are two options. One is -t, which must be followed directly +by a number, to specify the command timeout in seconds (e.g. -t5). The default +timeout is 1 second. The other option is -tls-on-connect, which causes the +client to try to start up a TLS session as soon as it has connected, without +using the STARTTLS command. The client program connects to the given IP address +and port, using the specified interface, if one is given. client-ssl [] [] \ @@ -951,7 +964,7 @@ are of the following kinds: may start with '<', which is not taken as part of the input data. If the input does not match, the server bombs out with an error message. -Here is a simple server example: +Here is a simple example of server use in a test script: server PORT_S 220 Greetings @@ -974,6 +987,11 @@ After a "server" command in a test script, the server runs in parallel until an messages to port PORT_S on the local host. When it has finished, the test script waits for the "server" process to finish. +The "mtpscript" program is like "server", except that it uses stdin/stdout for +its input and output instead of a script. However, it is not called from test +scripts; instead it is used as the command for pipe transports in some +configurations, to simulate non-socket LMTP servers. + AUXILIARY DATA FILES --------------------