apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject cvs commit: apr/test testutil.c
Date Tue, 29 Jun 2004 17:14:49 GMT
dreid       2004/06/29 10:14:49

  Modified:    test     testutil.c
  Log:
  If a test fails due to be not implemented, then record it as such
  and not a failure.
  
  Revision  Changes    Path
  1.4       +1 -3      apr/test/testutil.c
  
  Index: testutil.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testutil.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- testutil.c	7 Jun 2004 21:21:35 -0000	1.3
  +++ testutil.c	29 Jun 2004 17:14:49 -0000	1.4
  @@ -27,9 +27,7 @@
   {
       if (rv == APR_ENOTIMPL) {
           abts_not_impl(tc, context, lineno);
  -    }
  -
  -    if (rv != APR_SUCCESS) {
  +    } else if (rv != APR_SUCCESS) {
           char buf[STRING_MAX], ebuf[128];
           sprintf(buf, "%s (%d): %s\n", context, rv,
                   apr_strerror(rv, ebuf, sizeof ebuf));
  
  
  

Mime
View raw message