You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ko...@apache.org on 2021/02/21 17:37:29 UTC

svn commit: r1886764 - /subversion/trunk/subversion/tests/libsvn_subr/io-test.c

Author: kotkov
Date: Sun Feb 21 17:37:29 2021
New Revision: 1886764

URL: http://svn.apache.org/viewvc?rev=1886764&view=rev
Log:
* subversion/tests/libsvn_subr/io-test.c
  (test_install_stream_get_info): Convert this test...
  (test_install_stream): ...into this.  This is our new "basic" test that
   installs a stream and asserts the interesting properties of the resulting
   file.
  (test_funcs): Reflect the update.

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/io-test.c

Modified: subversion/trunk/subversion/tests/libsvn_subr/io-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/io-test.c?rev=1886764&r1=1886763&r2=1886764&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/io-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/io-test.c Sun Feb 21 17:37:29 2021
@@ -1179,7 +1179,7 @@ test_install_stream_set_affected_time(ap
 }
 
 static svn_error_t *
-test_install_stream_get_info(apr_pool_t *pool)
+test_install_stream(apr_pool_t *pool)
 {
   const char *tmp_dir;
   const char *final_abspath;
@@ -1192,7 +1192,7 @@ test_install_stream_get_info(apr_pool_t
 
   /* Create an empty directory. */
   SVN_ERR(svn_test_make_sandbox_dir(&tmp_dir,
-                                    "test_install_stream_get_info",
+                                    "test_install_stream",
                                     pool));
 
   final_abspath = svn_dirent_join(tmp_dir, "stream1", pool);
@@ -1440,8 +1440,8 @@ static struct svn_test_descriptor_t test
                    "test svn_stream__install_set_read_only"),
     SVN_TEST_PASS2(test_install_stream_set_affected_time,
                    "test svn_stream__install_set_affected_time"),
-    SVN_TEST_PASS2(test_install_stream_get_info,
-                   "test svn_stream__install_stream_get_info"),
+    SVN_TEST_PASS2(test_install_stream,
+                   "test svn_stream__install_stream"),
     SVN_TEST_PASS2(test_file_size_get,
                    "test svn_io_file_size_get"),
     SVN_TEST_PASS2(test_file_rename2,