diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2006-02-10 20:42:29 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2006-02-10 20:42:29 +0000 |
commit | 6446dc1e1b63d91188bcdcd4516aae912035473f (patch) | |
tree | 9c1482bd2895b539e3de30f5c61c5d036e022dea /test | |
parent | d8ce489cded91044b03a71c6dc486e7f662e301a (diff) | |
download | libapr-6446dc1e1b63d91188bcdcd4516aae912035473f.tar.gz |
Backport: 376824
Use WIN32 to exclude this test, situation to be remedied in trunk/.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@376834 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/testuser.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/testuser.c b/test/testuser.c index 0d712e6ad..9710cbf4a 100644 --- a/test/testuser.c +++ b/test/testuser.c @@ -94,6 +94,8 @@ static void groupname(CuTest *tc) CuAssertIntEquals(tc, APR_SUCCESS, apr_gid_compare(gid, retreived_gid)); } +#ifndef WIN32 + static void fail_userinfo(CuTest *tc) { apr_uid_t uid; @@ -139,6 +141,12 @@ static void fail_userinfo(CuTest *tc) } #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) { CuNotImpl(tc, "Users not implemented on this platform"); |