Skip site navigation (1) Skip section navigation (2)

Re: regression.out and regression.diff

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Vince Vielhaber <vev(at)michvhf(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: regression.out and regression.diff
Date: 2001-02-27 22:14:42
Message-ID: 13057.983312082@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
>> Either way my question still needs to be answered.  If there are no
>> errors, is regression.out and regression.diff deleted?  I can see the
>> diff file being empty, but deleted?

> The diff file always exists; if all tests passed, it's empty.

Forgot your own code already, Peter?

if [ -s "$diff_file" ]; then
    echo "The differences that caused some tests to fail can be viewed in the"
    echo "file \`$diff_file'.  A copy of the test summary that you see"
    echo "above is saved in the file \`$result_summary_file'."
    echo
else
    rm -f "$diff_file" "$result_summary_file"
fi


			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2001-02-27 22:19:30
Subject: Re: regression.out and regression.diff
Previous:From: Bruce MomjianDate: 2001-02-27 22:04:21
Subject: Database Internals Presentation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group