diff options
| author | Mathieu Parent <math.parent@gmail.com> | 2020-07-04 23:16:40 +0200 |
|---|---|---|
| committer | Ralph Boehme <slow@samba.org> | 2021-03-29 16:18:54 +0000 |
| commit | 359c6bd21084b075d3d47f5cec427a5801ac11de (patch) | |
| tree | e9f00966044e95e031c6e4d408a4e3b61fde711f /python | |
| parent | 942c0d2128cb8e64a9354dde6bdae82a1c1c3d88 (diff) | |
| download | samba-359c6bd21084b075d3d47f5cec427a5801ac11de.tar.gz samba-359c6bd21084b075d3d47f5cec427a5801ac11de.tar.bz2 samba-359c6bd21084b075d3d47f5cec427a5801ac11de.zip | |
Rename mdfind to mdsearch
GNUstep as an mdfind binary, and both should be co-instalable.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14431
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Björn Baumbach <bb@sernet.de>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Mar 29 16:18:54 UTC 2021 on sn-devel-184
Diffstat (limited to 'python')
| -rw-r--r-- | python/samba/tests/blackbox/mdsearch.py (renamed from python/samba/tests/blackbox/mdfind.py) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/python/samba/tests/blackbox/mdfind.py b/python/samba/tests/blackbox/mdsearch.py index 5c1c0c3d155..8da5a49e136 100644 --- a/python/samba/tests/blackbox/mdfind.py +++ b/python/samba/tests/blackbox/mdsearch.py @@ -1,5 +1,5 @@ # -# Blackbox tests for mdfind +# Blackbox tests for mdsearch # # Copyright (C) Ralph Boehme 2019 # @@ -17,7 +17,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -"""Blackbox test for mdfind""" +"""Blackbox test for mdsearch""" import os import time @@ -95,8 +95,8 @@ class MdfindBlackboxTests(BlackboxTestCase): self.server.server_activate() self.server.serve_forever() - def test_mdfind(self): - """Simple blackbox test for mdfind""" + def test_mdsearch(self): + """Simple blackbox test for mdsearch""" username = os.environ["USERNAME"] password = os.environ["PASSWORD"] @@ -123,7 +123,7 @@ class MdfindBlackboxTests(BlackboxTestCase): self.server.json_in = json_in.replace("%BASEPATH%", self.sharepath) self.server.json_out = json_out.replace("%BASEPATH%", self.sharepath) - output = self.check_output("mdfind -s %s -U %s%%%s fileserver spotlight '*==\"samba*\"'" % (config, username, password)) + output = self.check_output("mdsearch -s %s -U %s%%%s fileserver spotlight '*==\"samba*\"'" % (config, username, password)) actual = output.decode('utf-8').splitlines() expected = ["%s/%s" % (self.sharepath, file) for file in testfiles] |
