9 # $1: Options for test_negative
10 # $2: Path to test record
13 output=`dirname $input`/`basename $input .xml`.out
14 if [ -f "$output" ]; then
15 echo "Test $input already initialized; skipping"
17 $t $options "$input" >"$output"
18 echo Test $input initialized.
24 # $1: Options for test_negative
25 # $2: Path to test record
28 output=`dirname $input`/`basename $input .xml`.out
29 $t $options "$input" >current.out
30 if [ -f "$output" ]; then
31 if cmp "$output" current.out; then
34 echo Test $input FAILED!!!
37 echo Test $input still uninitialized
49 while [ $# -gt 0 ]; do
52 if [ -f "$input" ]; then
53 $what "$options" "$input"
55 if [ -d "$input" ]; then
56 for ent in $input/*.xml; do
57 for_directory $what "$options" $ent
60 echo "Not found: $input" >&2
69 usage: $0 [ -init -wf ] file ... dir ...
84 options="$options -wf"
98 for_directory $action "$options" "$@"
100 for_directory $action -wf \
101 data_jclark_notwf/ext-sa data_jclark_notwf/not-sa data_jclark_notwf/sa \
103 for_directory $action "" \
104 data_jclark_invalid data_invalid
107 # ======================================================================
109 # Revision 1.1 2000/11/17 09:57:33 lpadovan
112 # Revision 1.2 2000/05/01 16:23:39 gerd
113 # Added data_invalid.
115 # Revision 1.1 2000/05/01 15:58:50 gerd