apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r376834 - /apr/apr/branches/0.9.x/test/testuser.c
Date Fri, 10 Feb 2006 20:42:30 GMT
Author: wrowe
Date: Fri Feb 10 12:42:29 2006
New Revision: 376834

URL: http://svn.apache.org/viewcvs?rev=376834&view=rev
Log:
Backport: 376824

  Use WIN32 to exclude this test, situation to be remedied in trunk/.

Modified:
    apr/apr/branches/0.9.x/test/testuser.c

Modified: apr/apr/branches/0.9.x/test/testuser.c
URL: http://svn.apache.org/viewcvs/apr/apr/branches/0.9.x/test/testuser.c?rev=376834&r1=376833&r2=376834&view=diff
==============================================================================
--- apr/apr/branches/0.9.x/test/testuser.c (original)
+++ apr/apr/branches/0.9.x/test/testuser.c Fri Feb 10 12:42:29 2006
@@ -94,6 +94,8 @@
     CuAssertIntEquals(tc, APR_SUCCESS, apr_gid_compare(gid, retreived_gid));
 }
 
+#ifndef WIN32
+
 static void fail_userinfo(CuTest *tc)
 {
     apr_uid_t uid;
@@ -137,6 +139,12 @@
              "set a path name",
              rv != APR_SUCCESS || tmp != NULL);
 }
+
+#else
+static void fail_userinfo(CuTest *tc)
+    CuNotImpl(tc, "Intregal uid/gid not present on this platform");
+}
+#endif
 
 #else
 static void users_not_impl(CuTest *tc)



Mime
View raw message