IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2005, 1:22:39 PM (21 years ago)
Author:
desonia
Message:

updated tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/fileUtils/tst_psDB.c

    r3566 r3569  
    99 *  @author Aaron Culliney, MHPCC
    1010 *
    11  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-03-30 23:04:57 $
     11 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-03-30 23:22:39 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    493493
    494494                item = psMetadataLookup(row, "key_s32");
    495                 if ((item == NULL) || (item->data.S32 != S32_1)) {
    496                     psLogMsg( __func__, PS_LOG_INFO, "oops, did not find expected output!\n" );
     495                if (item == NULL) {
     496                    psLogMsg( __func__, PS_LOG_INFO, "oops, key_s32 not found!\n" );
     497                    failed = 1;
     498                } else if (item->data.S32 != S32_1) {
     499                    psLogMsg( __func__, PS_LOG_INFO, "oops, did not find expected output (%d vs %d)!\n",
     500                              item->data.S32,S32_1);
    497501                    failed = 1;
    498502                } else {
Note: See TracChangeset for help on using the changeset viewer.