Checkout
glasser
committed
on 26 Nov 07
Fix a test editor in tests/libsvn_repos to properly handle change_dir_prop.
This requires introducing directory batons instead of just reusi… Show more
Fix a test editor in tests/libsvn_repos to properly handle change_dir_prop.

This requires introducing directory batons instead of just reusing the

edit baton.

* subversion/tests/libsvn_repos/dir-delta-editor.c

 (edit_baton): Remove comment saying it's used for directory batons.

 (dir_baton): New.

 (test_delete_entry, test_open_root, test_open_directory,

  test_add_directory, test_open_file, test_add_file): Adjust to use

  dir_baton struct.

 (test_change_dir_prop): Adjust to use dir_baton struct; don't use

  the property name (!) as the pathname.

Show less