apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r1808836 - /apr/apr/trunk/test/testipsub.c
Date Tue, 19 Sep 2017 08:05:07 GMT
Author: jorton
Date: Tue Sep 19 08:05:07 2017
New Revision: 1808836

URL: http://svn.apache.org/viewvc?rev=1808836&view=rev
Log:
* test/testipsub.c (test_bad_input): Fix test in r1808832 to match
  failure code.

Modified:
    apr/apr/trunk/test/testipsub.c

Modified: apr/apr/trunk/test/testipsub.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testipsub.c?rev=1808836&r1=1808835&r2=1808836&view=diff
==============================================================================
--- apr/apr/trunk/test/testipsub.c (original)
+++ apr/apr/trunk/test/testipsub.c Tue Sep 19 08:05:07 2017
@@ -45,7 +45,7 @@ static void test_bad_input(abts_case *tc
         ,{"127.0.0.1.2",       NULL,               APR_EBADIP}
         ,{"127.0.0.1.2",       "8",                APR_EBADIP}
         ,{"127",               "255.0.0.0",        APR_EBADIP} /* either EBADIP or EBADMASK
seems fine */
-        ,{"",                  NULL,               APR_EBADIP}
+        ,{"",                  NULL,               APR_EINVAL}
 #if APR_HAVE_IPV6
         ,{"::1",               NULL,               APR_SUCCESS}
         ,{"::1",               "20",               APR_SUCCESS}



Mime
View raw message