subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1745192 - /subversion/trunk/subversion/tests/libsvn_subr/io-test.c
Date Mon, 23 May 2016 13:12:50 GMT
Author: ivan
Date: Mon May 23 13:12:50 2016
New Revision: 1745192

URL: http://svn.apache.org/viewvc?rev=1745192&view=rev
Log:
Follow-up to r1745173: Fix test expectation.

* subversion/tests/libsvn_subr/io-test.c
  (test_open_uniquely_named): Expect APR_STATUS_IS_ENOENT() instead of
   APR_STATUS_IS_ENOTDIR() on attempt to open uniquely named file in
   directory that doesn't exist.

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=1745192&r1=1745191&r2=1745192&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/io-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/io-test.c Mon May 23 13:12:50 2016
@@ -708,7 +708,7 @@ test_open_uniquely_named(apr_pool_t *poo
   err = svn_io_open_uniquely_named(NULL, &path,
                                    svn_dirent_join(tmp_dir, "non-existing", pool),
                                    NULL, NULL, svn_io_file_del_none, pool, pool);
-  if (err && APR_STATUS_IS_ENOTDIR(err->apr_err))
+  if (err && APR_STATUS_IS_ENOENT(err->apr_err))
     {
       svn_error_clear(err);
     }



Mime
View raw message