Changeset 11618


Ignore:
Timestamp:
Jan 2, 2011, 7:49:30 AM (11 years ago)
Author:
charles
Message:

(trunk libT) #3868 "util tests fail on Solaris 11 because sqrt(-1) is '-nan'" -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils-test.c

    r11599 r11618  
    405405
    406406    tr_snprintf( buf, sizeof( buf ), "%.2f", tr_truncd( nan, 2 ) );
    407     check( !strcmp( buf, "nan" ) );
     407    check( strstr( buf, "nan" ) != NULL );
    408408
    409409    return 0;
Note: See TracChangeset for help on using the changeset viewer.