Checkout
Bert Huijben
committed
on 18 Feb 15
Fix the op-depth calculations in db-tests.c, to no longer trip +-
every validation rule of op-depths. This involved changing
a local added s… Show more
Fix the op-depth calculations in db-tests.c, to no longer trip +-

every validation rule of op-depths. This involved changing

a local added subdir (with descendants at the same op-depth!)

into a copy.

These testcases were written before NODES introduced op-depth,

and the tests were only updated to not trigger test failures.

* subversion/libsvn_wc/wc-checks.sql

 (STMT_STATIC_VERIFY): Make ancestor check a bit stricter.

* subversion/tests/libsvn_wc/db-test.c

 (TESTING_DATA): Tweak setup.

 (test_pdh): Install ancestor for not-present to avoid

   error.

 (validate_abspath): Tweak function to print paths on error.

 (test_scan_addition): Tweak expectations after transforming

   add into a copy.

 (test_scan_deletion): Tweak test. Minor change to handle

   working delete.

Show less