| 1 | #!/bin/sh |
| 2 | # usage: ./addcases <casename> ... |
| 3 | # |
| 4 | # This file is |
| 5 | # Copyright (C) 1998-2000 Ian Jackson <ian@davenant.greenend.org.uk> |
| 6 | # |
| 7 | # It is part of adns, which is |
| 8 | # Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk> |
| 9 | # Copyright (C) 1999-2000 Tony Finch <dot@dotat.at> |
| 10 | # |
| 11 | # This program is free software; you can redistribute it and/or modify |
| 12 | # it under the terms of the GNU General Public License as published by |
| 13 | # the Free Software Foundation; either version 2, or (at your option) |
| 14 | # any later version. |
| 15 | # |
| 16 | # This program is distributed in the hope that it will be useful, |
| 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 | # GNU General Public License for more details. |
| 20 | # |
| 21 | # You should have received a copy of the GNU General Public License |
| 22 | # along with this program; if not, write to the Free Software Foundation, |
| 23 | # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 24 | |
| 25 | set -e |
| 26 | |
| 27 | for f in "$@" |
| 28 | do |
| 29 | cvs add "case-$f".{sys,out,err} |
| 30 | done |