Changeset 1682

Show
Ignore:
Timestamp:
26/05/2007 14:01:04 (20 months ago)
Author:
chris
Message:

Fix regex tests for HAVE_REGEX_SUPPORT

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • box/chris/general/test/common/testcommon.cpp

    r1641 r1682  
    753753 
    754754                // Add regex entries 
    755                 #ifdef HAVE_REGEX_H 
     755                #ifdef HAVE_REGEX_SUPPORT 
    756756                        elist.AddRegexEntries(std::string("[a-d]+\\.reg$" "\x01" "EXCLUDE" "\x01" "^exclude$")); 
    757757                        elist.AddRegexEntries(std::string("")); 
     
    785785                        == !CASE_SENSITIVE); 
    786786 
    787                 #ifdef HAVE_REGEX_H 
     787                #ifdef HAVE_REGEX_SUPPORT 
    788788                        TEST_THAT(elist.IsExcluded(std::string("b.reg")) == true); 
    789789                        TEST_THAT(elist.IsExcluded(std::string("B.reg")) == !CASE_SENSITIVE);