[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:
@@ -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*"
|
||||
|
||||
Reference in New Issue
Block a user