- Timestamp:
- Apr 30, 1998, 9:40:10 AM (26 years ago)
- Branches:
- (u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
- Children:
- 4ed3317fbd9191af9799c82b127995dc2fe99db4
- Parents:
- 8f0d304c9a165fcdc22365612d5836dfafc98d7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Tst/regress.cmd
r8f0d304 r49d361 2 2 3 3 ################################################################# 4 # $Id: regress.cmd,v 1. 6 1998-04-23 13:40:45obachman Exp $4 # $Id: regress.cmd,v 1.7 1998-04-30 07:40:10 obachman Exp $ 5 5 # FILE: regress.cmd 6 6 # PURPOSE: Script which runs regress test of Singular … … 82 82 return (1); 83 83 } 84 if ((! (-r "$root.res")) || (-z "$root.res")) 85 { 86 if ((! (-r "$root.res.gz")) || (-z "$root.res.gz")) 87 { 88 if ((! (-r "$root.res.gz.uu")) || (-z "$root.res.gz.uu")) 89 { 90 if ($generate ne "yes") 91 { 92 print (STDERR "Can not read $root.res[.gz]\n"); 93 return (1); 94 } 95 } 96 else 97 { 98 $exit_status 99 = $exit_status || &mysystem("$uudecode -o $root.res.gz $root.res.gz.uu; $gunzip $root.res.gz"); 100 if ($exit_status) 101 { 102 print (STDERR "Can not decode $root.res.gz.uu\n"); 103 return ($exit_status); 104 } 105 } 106 } 107 else 108 { 109 $exit_status = $exit_status || & mysystem("$gunzip -f -c $root.res.gz > $root.res"); 84 if ($generate ne "yes") 85 { 86 if ((-r "$root.res.gz.uu") && ! ( -z "$root.res.gz.uu")) 87 { 88 $exit_status 89 = $exit_status || &mysystem("$uudecode -o $root.res.gz $root.res.gz.uu; $gunzip -f $root.res.gz"); 110 90 if ($exit_status) 111 91 { 112 print (STDERR "Can not `$gunzip -f -c $root.res.gz > $root.res'\n");92 print (STDERR "Can not decode $root.res.gz.uu\n"); 113 93 return ($exit_status); 114 94 } 95 } 96 elsif (! (-r "$root.res") || ( -z "$root.res")) 97 { 98 print (STDERR "Can not read $root.res[.gz.uu]\n"); 99 return (1); 100 115 101 } 116 102 } … … 172 158 elsif ($generate eq "yes") 173 159 { 174 & mysystem("$gzip -f $root.res; $uuencode $root.res.gz $root.res.gz > $root.res.gz.uu ");160 & mysystem("$gzip -f $root.res; $uuencode $root.res.gz $root.res.gz > $root.res.gz.uu; $rm -rf $root.res.gz"); 175 161 if ($keep eq "yes") 176 162 { 177 163 & mysystem("mv $root.new.res $root.res"); 178 }179 else180 {181 & mysystem("$rm -rf $root.new.res $root.res.gz");182 164 } 183 165 }
Note: See TracChangeset
for help on using the changeset viewer.