/[cvs]/ccvs/TESTS
ViewVC logotype

Diff of /ccvs/TESTS

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by scjones, Wed Oct 8 20:52:53 2003 UTC revision 1.26 by dprice, Tue Sep 6 21:56:30 2005 UTC
# Line 202  its stdin/stderr output doesn't match th Line 202  its stdin/stderr output doesn't match th
202  variations, most notably dotest_fail for expected non-zero exit codes.  variations, most notably dotest_fail for expected non-zero exit codes.
203    
204  Other than that the script is mostly vanilla Bourne shell.  There are a few  Other than that the script is mostly vanilla Bourne shell.  There are a few
205  constructs used for versatility and portability.  You can grep for the ones I  common constructs used for versatility and portability.  You can grep for the
206  miss, but here are a few important ones.  I'm leaving off long explanations  ones I miss, but here are a few important ones.  I'm leaving off long
207  after the first few since it probably gives you the idea and the data is in  explanations after the first few since it probably gives you the idea and the
208  sanity.sh.  data is in sanity.sh.
209    
210    Several variables contain things intended to make a test writer's job easier.
211  Note that the boolean variables contain shell commands which return true or  Note that the boolean variables contain shell commands which return true or
212  false when executed and are intended to be used like,  false when executed and are intended to be used like,
213  "if $remote; then ... ; else ... ; fi"  "if $remote; then ... ; else ... ; fi"
# Line 225  false when executed and are intended to Line 226  false when executed and are intended to
226                    string to test for, since some messages can be printed either                    string to test for, since some messages can be printed either
227                    by the CVS client or CVS server, dependant on the mode.  In                    by the CVS client or CVS server, dependant on the mode.  In
228                    local mode it will = $PROG.                    local mode it will = $PROG.
229     * $PROG      = regexp to match client progname in CVS error messages.  Use     * $CPROG     = regexp to match client progname in CVS error messages.  Use
230                    this to match error messages known to be printed only from                    this to match error messages known to be printed only from
231                    the CVS client.                    the CVS client.
232     * $remote    = ':' (true) or 'false', depending on whether the script is     * $remote    = ':' (true) or 'false', depending on whether the script is
# Line 237  false when executed and are intended to Line 238  false when executed and are intended to
238     * $testcvs_server_support     * $testcvs_server_support
239                  = ':' (true) or 'false', depending whether server support was                  = ':' (true) or 'false', depending whether server support was
240                    detected in the ${testcvs} executable.                    detected in the ${testcvs} executable.
241       * $tempfile  = a regex to match a temporary file name, as generated by
242                      the cvs_temp_file function.
243       * $tempname  = a regex to match the full path to a temporary file generated
244                      by cvs_temp_file (always set to `$TMPDIR/$tempfile').
245    
246  And, of course, some characters like '.' in regexps need to be '\' escaped when  And, of course, some characters like '.' in regexps need to be '\' escaped when
247  you mean them literally.  Some characters may be interpreted by the shell,  you mean them literally.  Some characters may be interpreted by the shell,

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26