diff -r dc5b0fee49df -r 44cf877b3d9f src/server/plugins/postgresql/pgtest.c --- a/src/server/plugins/postgresql/pgtest.c Sun May 01 11:14:47 2022 +0200 +++ b/src/server/plugins/postgresql/pgtest.c Sun May 01 12:33:48 2022 +0200 @@ -844,6 +844,22 @@ test_multistatus_destroy(ms); testutil_iostream_destroy(st); + // Test 2: xml property value + init_test_webdav_method(&sn, &rq, &st, &pb, "PROPPATCH", "/proppatch/pp1", PG_TEST_PROPPATCH2); + rq->davCollection = create_test_pgdav(sn, rq); + + ret = webdav_proppatch(pb, sn, rq); + UCX_TEST_ASSERT(ret == REQ_PROCEED, "proppatch2 failed"); + + //printf("\n\n%.*s\n", (int)st->buf->size, st->buf->space); + + ms = test_parse_multistatus(st->buf->space, st->buf->size); + UCX_TEST_ASSERT(ms, "proppatch2 response is not valid xml"); + + testutil_destroy_session(sn); + test_multistatus_destroy(ms); + testutil_iostream_destroy(st); + UCX_TEST_END; }