Because the node origins table is just a cache, you should be able to use operations that deal with it even if the repository is readonly to you (for example, ra_local with restricted permissions).  Test this, by splitting the node-origins-rev unit test into two tests, one of which chmods the sqlite table to readonly first.
Because the node origins table is just a cache, you should be able to
use operations that deal with it even if the repository is readonly to
you (for example, ra_local with restricted permissions).  Test this,
by splitting the node-origins-rev unit test into two tests, one of
which chmods the sqlite table to readonly first.

* subversion/tests/libsvn_fs/fs_test.c
  (node_origin_rev): Add a read_only parameter; if it's true, set
   indexes.sqlite to readonly (and adjust test and repo name based
   on it).
  (node_origin_rev_ro, node_origin_rev_rw): Wrappers around
   node_origin_rev.
  (test_funcs): Replace node_origin_rev with the ro version (XFAIL)
   and the rw version (PASS).


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@867995 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion