[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/TESTS
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] Changes to ccvs/TESTS |
Date: |
Tue, 06 Sep 2005 17:56:31 -0400 |
Index: ccvs/TESTS
diff -u ccvs/TESTS:1.25 ccvs/TESTS:1.26
--- ccvs/TESTS:1.25 Wed Oct 8 20:52:53 2003
+++ ccvs/TESTS Tue Sep 6 21:56:30 2005
@@ -202,11 +202,12 @@
variations, most notably dotest_fail for expected non-zero exit codes.
Other than that the script is mostly vanilla Bourne shell. There are a few
-constructs used for versatility and portability. You can grep for the ones I
-miss, but here are a few important ones. I'm leaving off long explanations
-after the first few since it probably gives you the idea and the data is in
-sanity.sh.
+common constructs used for versatility and portability. You can grep for the
+ones I miss, but here are a few important ones. I'm leaving off long
+explanations after the first few since it probably gives you the idea and the
+data is in sanity.sh.
+Several variables contain things intended to make a test writer's job easier.
Note that the boolean variables contain shell commands which return true or
false when executed and are intended to be used like,
"if $remote; then ... ; else ... ; fi"
@@ -225,7 +226,7 @@
string to test for, since some messages can be printed either
by the CVS client or CVS server, dependant on the mode. In
local mode it will = $PROG.
- * $PROG = regexp to match client progname in CVS error messages. Use
+ * $CPROG = regexp to match client progname in CVS error messages. Use
this to match error messages known to be printed only from
the CVS client.
* $remote = ':' (true) or 'false', depending on whether the script is
@@ -237,6 +238,10 @@
* $testcvs_server_support
= ':' (true) or 'false', depending whether server support was
detected in the ${testcvs} executable.
+ * $tempfile = a regex to match a temporary file name, as generated by
+ the cvs_temp_file function.
+ * $tempname = a regex to match the full path to a temporary file generated
+ by cvs_temp_file (always set to `$TMPDIR/$tempfile').
And, of course, some characters like '.' in regexps need to be '\' escaped when
you mean them literally. Some characters may be interpreted by the shell,
- [Cvs-cvs] Changes to ccvs/TESTS,
Derek Robert Price <=