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