You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2016/11/06 11:49:26 UTC
svn commit: r1768310 - in /subversion/trunk/subversion/tests/cmdline:
basic_tests.py list_tests.py
Author: stefan2
Date: Sun Nov 6 11:49:26 2016
New Revision: 1768310
URL: http://svn.apache.org/viewvc?rev=1768310&view=rev
Log:
Get rid of the separate list_tests.py as most of it has been already
covered by our basic_tests.py (using the alias 'ls' for 'list').
* subversion/tests/cmdline/basic_tests.py
(filtered_ls): The list_filtered test carried over from list_test.py
(test_list): Register new test.
* subversion/tests/cmdline/list_tests.py
(): Remove file.
Removed:
subversion/trunk/subversion/tests/cmdline/list_tests.py
Modified:
subversion/trunk/subversion/tests/cmdline/basic_tests.py
Modified: subversion/trunk/subversion/tests/cmdline/basic_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/basic_tests.py?rev=1768310&r1=1768309&r2=1768310&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/basic_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/basic_tests.py Sun Nov 6 11:49:26 2016
@@ -3116,6 +3116,20 @@ def plaintext_password_storage_disabled(
f.close()
+
+def filtered_ls(sbox):
+ "filtered 'svn ls'"
+
+ sbox.build(read_only=True)
+ path = sbox.repo_url + "/A/D"
+
+ # check plain info
+ expected = [ "H/omega\n",
+ "gamma\n" ]
+
+ exit_code, output, error = svntest.actions.run_and_verify_svn(
+ None, [], 'ls', path, '--depth=infinity', '--search=*a')
+
########################################################################
# Run the tests
@@ -3186,6 +3200,7 @@ test_list = [ None,
peg_rev_on_non_existent_wc_path,
mkdir_parents_target_exists_on_disk,
plaintext_password_storage_disabled,
+ filtered_ls,
]
if __name__ == '__main__':