subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1161710 - /subversion/trunk/subversion/tests/libsvn_fs/fs-test.c
Date Thu, 25 Aug 2011 19:29:04 GMT
Author: hwright
Date: Thu Aug 25 19:29:04 2011
New Revision: 1161710

URL: http://svn.apache.org/viewvc?rev=1161710&view=rev
Log:
* subversion/tests/libsvn_fs/fs-test.c
  (revision_props): Allow a test to fail gracefully.

Modified:
    subversion/trunk/subversion/tests/libsvn_fs/fs-test.c

Modified: subversion/trunk/subversion/tests/libsvn_fs/fs-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_fs/fs-test.c?rev=1161710&r1=1161709&r2=1161710&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_fs/fs-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_fs/fs-test.c Thu Aug 25 19:29:04 2011
@@ -658,6 +658,7 @@ revision_props(const svn_test_opts_t *op
 
   /* Copy a property's value into a new property. */
   SVN_ERR(svn_fs_revision_prop(&value, fs, 0, "color", pool));
+  SVN_TEST_ASSERT(value);
 
   s1.data = value->data;
   s1.len = value->len;
@@ -694,6 +695,7 @@ revision_props(const svn_test_opts_t *op
   /* Obtain a list of all current properties, and make sure it matches
      the expected values. */
   SVN_ERR(svn_fs_revision_proplist(&proplist, fs, 0, pool));
+  SVN_TEST_ASSERT(proplist);
   {
     svn_string_t *prop_value;
 



Mime
View raw message