[svn-r10995] Purpose:
modified the script test so that when the test files do not exist , they are created Description: Solution: Platforms tested: linux solaris Misc. update:
This commit is contained in:
@@ -145,7 +145,11 @@ TOOLTEST() {
|
||||
STDERR_FILTER $tmp_err
|
||||
cat $tmp_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"
|
||||
elif test -z "$pmode"; then
|
||||
echo "*FAILED*"
|
||||
|
||||
Reference in New Issue
Block a user