subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1150255 - /subversion/trunk/subversion/tests/libsvn_client/client-test.c
Date Sun, 24 Jul 2011 02:24:13 GMT
Author: rhuijben
Date: Sun Jul 24 02:24:12 2011
New Revision: 1150255

URL: http://svn.apache.org/viewvc?rev=1150255&view=rev
Log:
* subversion/tests/libsvn_client/client-test.c
  (check_patch_result): Close file before deleting it.

Modified:
    subversion/trunk/subversion/tests/libsvn_client/client-test.c

Modified: subversion/trunk/subversion/tests/libsvn_client/client-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_client/client-test.c?rev=1150255&r1=1150254&r2=1150255&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_client/client-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_client/client-test.c Sun Jul 24 02:24:12 2011
@@ -244,6 +244,7 @@ check_patch_result(const char *path, con
   svn_pool_destroy(iterpool);
 
   SVN_TEST_ASSERT(i == num_expected_lines);
+  SVN_ERR(svn_stream_close(stream));
   SVN_ERR(svn_io_remove_file2(path, FALSE, pool));
 
   return SVN_NO_ERROR;



Mime
View raw message