On 10/20/06, Rick Hillegas <[EMAIL PROTECTED]> wrote:
I'd like to finish up the work on DERBY-1377 in the 10.2 branch. I
believe that all that remains is a rototill of the sql test scripts. Hey
Andrew, I seem to recall that you had come up with a way to finesse this
issue. Can you share your plan with us?

in java/testing/org/apache/derbyTesting/functionTests:

updateone () {
 cat $1 $2 > $2.tmp
 mv $2.tmp $2
}

for i in `find tests -name '*.sql' | grep -v .svn`
do
 updateone license_header $i
 testname=`basename $i .sql`
 echo updating master/$testname.out
 for j in `find master -name $testname.out | grep -v .svn`
 do
   echo updating $j
   cat $j | sed '1s/^ij> //' > $j
   mv $j.tmp $j
   updateone ij_header $j
 done
done

and then running derbyall to catch any fallout.

I'm short on time (machine and personal) at the moment, so if someone
else wants to take care of this, let me know, otherwise I'll get to it
some time late next week.

andrew

Attachment: license_header
Description: Binary data

Attachment: ij_header
Description: Binary data

Reply via email to