diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-21 16:54:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-21 16:54:42 +0000 |
commit | dc060fe73bed4e911b20224a3fcec894edc95a73 (patch) | |
tree | b2e654ec0791f509a1436f38d0b2bd19cab452ca /cvs-helpers | |
parent | 2010-06-21 Jennifer Averett <Jennifer.Averett@OARcorp.com> (diff) | |
download | rtems-testing-dc060fe73bed4e911b20224a3fcec894edc95a73.tar.bz2 |
2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* mktest: Remove echo on cvs add and verify it works.
Diffstat (limited to 'cvs-helpers')
-rw-r--r-- | cvs-helpers/ChangeLog | 4 | ||||
-rwxr-xr-x | cvs-helpers/mktest | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/cvs-helpers/ChangeLog b/cvs-helpers/ChangeLog index 652f800..0de4343 100644 --- a/cvs-helpers/ChangeLog +++ b/cvs-helpers/ChangeLog @@ -1,5 +1,9 @@ 2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com> + * mktest: Remove echo on cvs add and verify it works. + +2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com> + * mktest: Add generation of .cvsignore and first attempt at cvs add. 2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com> diff --git a/cvs-helpers/mktest b/cvs-helpers/mktest index 845fb42..9e67f42 100755 --- a/cvs-helpers/mktest +++ b/cvs-helpers/mktest @@ -26,6 +26,13 @@ check_status() usage() { echo "$progname -s SOURCE -d DEST -D description [-v]" + echo " OR" + echo "$progname -c -d DEST" +cat <<EOF + +The first form is to generate a new test. +The second form is to add the new test to CVS. +EOF exit 1 } @@ -57,11 +64,11 @@ if [ ${addToCVS} == yes ] ; then test -d ${dest} check_status $? "Cannot add ${dest} -- does not exist" - echo cvs add ${dest} + cvs add ${dest} cd ${dest} for f in `ls -1 .cvsignore Makefile.am *.doc *.scn *.[ch] 2>/dev/null` do - echo cvs add ${f} + cvs add ${f} done exit 0 fi |