12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
###############################################################
## Version control history
###############################################################
## $Id$
##
## $Log$
## Revision 1.4 1996/08/19 09:02:12 peter
## Errors go to user - not log.
##
## Revision 1.3 1996/08/18 20:05:55 peter
## Included zero outputs.
##
## Revision 1.2 1996/08/08 18:08:37 peter
|
>
>
>
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
###############################################################
## Version control history
###############################################################
## $Id$
##
## $Log$
# Revision 1.5 1996/08/24 14:38:11 peter
# Error handling included.
#
## Revision 1.4 1996/08/19 09:02:12 peter
## Errors go to user - not log.
##
## Revision 1.3 1996/08/18 20:05:55 peter
## Included zero outputs.
##
## Revision 1.2 1996/08/08 18:08:37 peter
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
structure = cbg2ese(system_name,'','',infofile)
makedef(structure,deffile);
EOF
cat $infofile
# Test for errors and print if any
err_length=$(wc -c <mtt_error)
if [ $err_length != "0" ]
then
echo MTT has failed with the following errors '...'
cat mtt_error
exit 1
else
exit 0
fi
|
<
<
<
|
<
|
<
<
<
<
|
59
60
61
62
63
64
65
66
67
68
69
70
|
structure = cbg2ese(system_name,'','',infofile)
makedef(structure,deffile);
EOF
cat $infofile
# Now invoke the standard error handling.
mtt_error_r cbg2ese_m2r.log
|