summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/TESTS
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-04-15 01:01:56 +0000
committerpeter <peter@FreeBSD.org>2004-04-15 01:01:56 +0000
commit6045cae71a438a752980a395f03717a13cc22179 (patch)
treefd220ac1ddaebaa4a730f86d6f727fb639279056 /contrib/cvs/TESTS
parent0de1aa939e0bb1831fe5ba20e2afa2fe6d7426ab (diff)
downloadFreeBSD-src-6045cae71a438a752980a395f03717a13cc22179.zip
FreeBSD-src-6045cae71a438a752980a395f03717a13cc22179.tar.gz
Import cvs-1.11.15
Diffstat (limited to 'contrib/cvs/TESTS')
-rw-r--r--contrib/cvs/TESTS11
1 files changed, 9 insertions, 2 deletions
diff --git a/contrib/cvs/TESTS b/contrib/cvs/TESTS
index fe01101..dada9e3 100644
--- a/contrib/cvs/TESTS
+++ b/contrib/cvs/TESTS
@@ -206,6 +206,10 @@ 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.
+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"
+
* $testdir = the directory this test is taking place in
(CVSROOT=$testdir/cvsroot or CVSROOT=:fork:$testdir/cvsroot)
@@ -216,8 +220,11 @@ sanity.sh.
* $username = regexp to match a username
* $hostname = regexp to match a hostname
* $PROG = regexp to match progname in CVS error messages
- * $remote = 'yes' or 'no', depending on whether the script is running with
- a remote CVSROOT
+ * $remote = ':' (true) or 'false', depending on whether the script is
+ running with a remote CVSROOT
+ * $keep = ':' (true) or 'false'. When set, the first test run will
+ leave any files and directories it created in $testdir and
+ exit when complete.
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,
OpenPOWER on IntegriCloud