subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1807060 - /subversion/trunk/subversion/tests/cmdline/basic_tests.py
Date Sat, 02 Sep 2017 15:41:10 GMT
Author: stefan2
Date: Sat Sep  2 15:41:10 2017
New Revision: 1807060

URL: http://svn.apache.org/viewvc?rev=1807060&view=rev
Log:
* subversion/tests/cmdline/basic_tests.py
  (filtered_ls): Actually check for the expected outputs. Add test cases
                 to cover case insensitivity and segment matching.

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=1807060&r1=1807059&r2=1807060&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/basic_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/basic_tests.py Sat Sep  2 15:41:10 2017
@@ -3126,7 +3126,19 @@ def filtered_ls(sbox):
                "gamma\n" ]
 
   exit_code, output, error = svntest.actions.run_and_verify_svn(
-    None, [], 'ls', path, '--depth=infinity', '--search=*a')
+    expected, [], 'ls', path, '--depth=infinity', '--search=*a')
+
+  # check case-insensitivity
+  exit_code, output, error = svntest.actions.run_and_verify_svn(
+    expected, [], 'ls', path, '--depth=infinity', '--search=*A')
+
+  expected = [ "H/\n" ]
+  exit_code, output, error = svntest.actions.run_and_verify_svn(
+    expected, [], 'ls', path, '--depth=infinity', '--search=h')
+
+  # we don't match full paths
+  exit_code, output, error = svntest.actions.run_and_verify_svn(
+    [], [], 'ls', path, '--depth=infinity', '--search=*/*')
 
 ########################################################################
 # Run the tests



Mime
View raw message