[svn-r6911] Purpose:

made the test file to compare be created if it does not exist

Description:

Solution:

Platforms tested:

Misc. update:
This commit is contained in:
Pedro Vicente Nunes
2003-05-22 17:22:02 -05:00
parent 7065b730e8
commit 68caabdfd5

View File

@@ -68,8 +68,12 @@ TOOLTEST() {
fi
) >$actual 2>$actual_err
cat $actual_err >> $actual
if $CMP $expect $actual; then
if [ ! -f $expect ]; then
# Create the expect file if it doesn't yet exist.
echo " CREATED"
cp $actual $expect
elif $CMP $expect $actual; then
echo " PASSED"
else
echo "*FAILED*"