Author: philip
Date: Thu Feb 19 18:48:41 2015
New Revision: 1660971
URL: http://svn.apache.org/r1660971
Log:
* subversion/tests/cmdline/svnadmin_tests.py
(load_no_svndate_r0): New XFAIL test for issue 4563.
(test_list): Add new test.
Modified:
subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py
Modified: subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py?rev=1660971&r1=1660970&r2=1660971&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py Thu Feb 19
18:48:41 2015
@@ -2930,6 +2930,31 @@ def load_txdelta(sbox):
".*Verified revision *"):
raise svntest.Failure
+@XFail()
+@Issues(4563)
+def load_no_svndate_r0(sbox):
+ "load without svn:date on r0"
+
+ sbox.build(create_wc=False, empty=True)
+
+ # svn:date exits
+ svntest.actions.run_and_verify_svnlook([' svn:date\n'], [],
+ 'proplist', '--revprop', '-r0',
+ sbox.repo_dir)
+
+ dump_old = ["SVN-fs-dump-format-version: 2\n", "\n",
+ "UUID: bf52886d-358d-4493-a414-944a6e5ad4f5\n", "\n",
+ "Revision-number: 0\n",
+ "Prop-content-length: 10\n",
+ "Content-length: 10\n", "\n",
+ "PROPS-END\n", "\n"]
+ svntest.actions.run_and_verify_load(sbox.repo_dir, dump_old)
+
+ # svn:date should have been removed
+ svntest.actions.run_and_verify_svnlook([], [],
+ 'proplist', '--revprop', '-r0',
+ sbox.repo_dir)
+
########################################################################
# Run the tests
@@ -2984,6 +3009,7 @@ test_list = [ None,
freeze_same_uuid,
upgrade,
load_txdelta,
+ load_no_svndate_r0,
]
if __name__ == '__main__':