211 |
"if $remote; then ... ; else ... ; fi" |
"if $remote; then ... ; else ... ; fi" |
212 |
|
|
213 |
|
|
214 |
* $testdir = the directory this test is taking place in |
* $testdir = the directory this test is taking place in |
215 |
(CVSROOT=$testdir/cvsroot or CVSROOT=:fork:$testdir/cvsroot) |
(CVSROOT=$testdir/cvsroot or |
216 |
* $testcvs = full path to the cvs executable we are testing |
CVSROOT=:fork:$testdir/cvsroot) |
217 |
* $PLUS = expr dependant uninterpreted '+' since this can vary |
* $testcvs = full path to the cvs executable we are testing |
218 |
* $DOTSTAR = expr dependant _interpreted_ .* since some exprs don't match |
* $PLUS = expr dependant uninterpreted '+' since this can vary |
219 |
EOL |
* $DOTSTAR = expr dependant _interpreted_ .* since some exprs don't |
220 |
* $username = regexp to match a username |
match EOL |
221 |
* $hostname = regexp to match a hostname |
* $username = the username of the user running the tests |
222 |
* $PROG = regexp to match progname in CVS error messages |
* $username8 = the first 8 characters of $username, output by some |
223 |
* $remote = ':' (true) or 'false', depending on whether the script is |
system and CVS commands |
224 |
running with a remote CVSROOT |
* $anyusername = regexp to match any valid system or CVS username |
225 |
* $keep = ':' (true) or 'false'. When set, the first test run will |
* $hostname = regexp to match a hostname |
226 |
leave any files and directories it created in $testdir and |
* $PROG = regexp to match progname in CVS error messages |
227 |
exit when complete. |
* $remote = ':' (true) or 'false', depending on whether the script is |
228 |
|
running with a remote CVSROOT |
229 |
|
* $keep = ':' (true) or 'false'. When set, the first test run will |
230 |
|
leave any files and directories it created in $testdir and |
231 |
|
exit when complete. |
232 |
|
|
233 |
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 |
234 |
you mean them literally. Some characters may be interpreted by the shell, |
you mean them literally. Some characters may be interpreted by the shell, |